Plugin Directory

Changeset 1604147


Ignore:
Timestamp:
02/27/2017 01:53:04 AM (9 years ago)
Author:
saturnplugins
Message:

Fixed fatal error in old PHP version

Location:
advanced-twenty-seventeen/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • advanced-twenty-seventeen/trunk/advanced-twenty-seventeen.php

    r1603754 r1604147  
    44 * Plugin URI: https://saturnthemes.com/
    55 * Description: An toolkit that helps you customize the Twenty Seventeen theme completely.
    6  * Version: 1.3
     6 * Version: 1.3.1
    77 * Author: saturnplugins
    88 * Author URI: https://saturnthemes.com
     
    1919if ( ! class_exists( 'AdvancedTwentySeventeen' ) ) {
    2020    class AdvancedTwentySeventeen {
    21         public $version = '1.3';
     21        public $version = '1.3.1';
    2222
    2323        protected static $_instance = null;
  • advanced-twenty-seventeen/trunk/inc/admin/class-ats-admin.php

    r1603754 r1604147  
    99        add_action( 'init', array( $this, 'includes' ) );
    1010
    11         if ( empty( get_option( 'ats_dismiss_notice' ) ) ) {
     11        $dismiss_notice = get_option( 'ats_dismiss_notice' );
     12
     13        if ( empty( $dismiss_notice ) ) {
    1214      add_action( 'admin_notices', array( $this, 'notice' ) );
    1315      add_action( 'wp_ajax_ats_dismiss_notice', array( $this, 'dismiss_notice' ) );
  • advanced-twenty-seventeen/trunk/readme.txt

    r1603754 r1604147  
    55Requires at least: 4.7
    66Tested up to: 4.7
    7 Stable tag: 1.3
     7Stable tag: 1.3.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.