Plugin Directory

Changeset 840237


Ignore:
Timestamp:
01/17/2014 10:25:16 AM (12 years ago)
Author:
commentluv
Message:

tagging 2.93.5
allow disable of utf8 encoding option

Location:
commentluv
Files:
152 added
2 edited

Legend:

Unmodified
Added
Removed
  • commentluv/trunk/commentluv.php

    r838344 r840237  
    33Plugin URI: http://comluv.com/
    44Description: Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
    5 Version: 2.93.4
     5Version: 2.93.5
    66Author: Andy Bailey
    77Author URI: http://www.commentluv.com
     
    2929        var $plugin_dir;
    3030        var $db_option = 'commentluv_options';
    31         var $version = "2.93.4";
     31        var $version = "2.93.5";
    3232        var $slug = 'commentluv-options';
    3333        var $localize;
     
    13011301        function send_feed_file(){
    13021302            //debugbreak();
     1303            $options = $this->get_options();
    13031304            $postquery = array('numberposts'=>10,'post_type'=>'post');     
    13041305            if(is_category()){
     
    13471348            ob_end_clean(); 
    13481349            // force utf characters
    1349             $feed = utf8_encode($feed);                                                     
     1350            if(isset($options['utf8']) && $options['utf8'] == 'on'){
     1351                // do nothing if set to disable utf8 encoding   
     1352            } else {
     1353                $feed = utf8_encode($feed);                                                     
     1354            }                                                                                   
    13501355            header("Content-Type: application/atom+xml; charset=".get_bloginfo('charset'));
    13511356            echo $feed;   
     
    16611666                                                <br>( <strong>&lt;?php cl_display_badge(); ?&gt;</strong> )
    16621667                                            </td>
    1663                                             <td colspan="2">
     1668                                            <td>
    16641669                                                <input type="checkbox" name="<?php echo $dbo;?>[minifying]" <?php if(isset($o['minifying'])) checked($o['minifying'],'on');?> value="on"/><label for="<?php echo $dbo;?>[minifying]"> <?php _e('Enable minifying compatibility?',$pd);?></label>
    16651670                                                <br><?php _e('For caching plugins (places localized code in footer)',$pd);?>
     1671                                            </td>
     1672                                            <td>
     1673                                                <input type="checkbox" name="<?php echo $dbo;?>[utf8]" <?php if(isset($o['utf8'])) checked($o['utf8'],'on');?> value="on"/><label for="<?php echo $dbo;?>[utf8]"> <?php _e('Disable UTF8 encoding?',$pd);?></label>
     1674                                                <br><?php _e('If you are having issues with accents not showing properly',$pd);?>
    16661675                                            </td>
    16671676                                            <td>
  • commentluv/trunk/readme.txt

    r838344 r840237  
    55Requires at least: 3.6
    66Tested up to: 3.8
    7 Stable tag: 2.93.4
     7Stable tag: 2.93.5
    88   
    99Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
     
    8484Please see the videos in the settings page for explanations of how they work.
    8585
     86= Accents in my language are not showing correctly =
     87
     88Please tick the box marked "disable UTF8 encoding" in the technical settings area of the plugins settings page
     89
    8690== Screenshots ==
    8791
     
    9599
    96100== ChangeLog ==
     101
     102= 2.93.5 =
     103
     104* added : option to allow disable of utf8 encode on feed  (thanks Eli http://www.un-jardin-bio.com for testing)
    97105
    98106= 2.93.4 =
Note: See TracChangeset for help on using the changeset viewer.