Plugin Directory

Changeset 1476087


Ignore:
Timestamp:
08/16/2016 10:29:03 PM (10 years ago)
Author:
fugudesign
Message:
  • Fix a bug of settings initialization
Location:
maintenance-switch
Files:
2 deleted
3 edited
18 copied

Legend:

Unmodified
Added
Removed
  • maintenance-switch/trunk/includes/class-maintenance-switch.php

    r1476058 r1476087  
    492492        $previous_version = $this->get_the_version();
    493493       
     494        if ( empty( $previous_version ) )
     495            return false;
     496       
    494497        // test if the db version is anterior to called version
    495498        if ( $this->numeric_version( $previous_version ) < $this->numeric_version( $version ) )
     
    558561    public function get_the_version() {
    559562       
    560         return get_option( 'maintenance_switch_version', '1.0.0' );
     563        return get_option( 'maintenance_switch_version' );
    561564    }
    562565   
  • maintenance-switch/trunk/maintenance-switch.php

    r1476058 r1476087  
    1717 * Plugin URI:        https://wordpress.org/plugins/maintenance-switch
    1818 * Description:       Customize easily and switch in one-click to (native) maintenance mode from your backend or frontend.
    19  * Version:           1.3.6
     19 * Version:           1.3.7
    2020 * Author:            Fugu
    2121 * Author URI:        http://www.fugu.fr
     
    4141 * @since    1.3.6
    4242 */
    43 define( 'MS_VERSION', '1.3.6' );
     43define( 'MS_VERSION', '1.3.7' );
    4444
    4545/**
  • maintenance-switch/trunk/readme.txt

    r1476058 r1476087  
    55Requires at least: 3.5
    66Tested up to: 4.5.1
    7 Stable tag: 1.3.6
     7Stable tag: 1.3.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    104104== Changelog ==
    105105
     106= 1.3.7 =
     107* Fix a bug of settings initialization
     108
    106109= 1.3.6 =
    107110* Fix a php in_array warning in admin display
Note: See TracChangeset for help on using the changeset viewer.