Plugin Directory

Changeset 2044979


Ignore:
Timestamp:
03/06/2019 04:16:12 AM (7 years ago)
Author:
SriniG
Message:

v2.5.2: /home/srini/Localweb/WordPress/trunk/wp-content/plugins/quotes-collection/inc/class-quotes-collection.php

Location:
quotes-collection/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • quotes-collection/trunk/inc/class-quotes-collection-shortcode.php

    r2037758 r2044979  
    3939        ), $atts );
    4040        extract($atts);
    41 
     41       
    4242        if( $ajax_refresh && $ajax_refresh !== 'false' ) {
    4343                $atts['echo'] = 0;
     44                if(
     45                    ($auto_refresh == 1 || $auto_refresh === true || $auto_refresh == 'true')
     46                    && is_numeric($refresh_interval)
     47                ) {
     48                    $atts['auto_refresh'] = $refresh_interval;
     49                } else if($auto_refresh === false || $auto_refresh == 'false') {
     50                    $atts['auto_refresh'] = 0;
     51                }
    4452                return quotescollection_quote($atts);
    4553        }
  • quotes-collection/trunk/inc/class-quotes-collection.php

    r2044373 r2044979  
    1010
    1111    /** Plugin version **/
    12     const PLUGIN_VERSION = '2.5.1';
     12    const PLUGIN_VERSION = '2.5.2';
    1313
    1414    public $refresh_link_text;
  • quotes-collection/trunk/quotes-collection.php

    r2044373 r2044979  
    44 * Plugin URI: http://srinig.com/wordpress/plugins/quotes-collection/
    55 * Description: Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes in your WordPress blog/website.
    6  * Version: 2.5.1
     6 * Version: 2.5.2
    77 * Author: Srini G
    88 * Author URI: http://srinig.com/
  • quotes-collection/trunk/readme.txt

    r2044373 r2044979  
    7474==Changelog==
    7575
     76* **2019-03-06: Version 2.5.2**
     77    * Fixed issues with auto_refresh in shortcode.
     78
    7679* **2019-03-05: Version 2.5.1**
    7780    * Fix for an issue where JS arguments break HTML loop when widget is used inside certain page builders.
     
    329332== Upgrade Notice ==
    330333
     334= 2.5.2 =
     335Fixed issues with auto_refresh in shortcode.
     336
    331337= 2.5.1 =
    332338Comes with a fix for an issue where widget breaks HTML loop in some cases. Upgrade recommended.
Note: See TracChangeset for help on using the changeset viewer.