Plugin Directory

Changeset 1417539


Ignore:
Timestamp:
05/15/2016 09:36:40 PM (10 years ago)
Author:
fugudesign
Message:
  • Fix a php error in the admin
Location:
maintenance-switch
Files:
47 added
3 edited

Legend:

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

    r1409704 r1417539  
    106106
    107107        $this->plugin_name = MS_SLUG;
    108         $this->version = '1.3.4';
     108        $this->version = '1.3.5';
    109109        $this->default_settings = json_decode( MS_DEFAULT_SETTINGS, true );
    110110        $this->current_theme = wp_get_theme();
     
    201201        // Add an action link pointing to the options page.
    202202        $plugin_basename = plugin_basename( plugin_dir_path( __DIR__ ) . $this->plugin_name . '.php' );
    203         $this->loader->add_filter( 'plugin_action_links_' . $plugin_basename, $plugin_admin, 'add_action_links' );
     203        $this->loader->add_filter( 'plugin_action_links_' . $plugin_basename, $this->plugin_admin, 'add_action_links' );
    204204       
    205205        // Add an action for the switch button
     
    226226    private function define_public_hooks() {
    227227
    228         $plugin_public = new Maintenance_Switch_Public( $this_name, $this->version );
     228        $plugin_public = new Maintenance_Switch_Public( $this->plugin_name, $this->version );
    229229
    230230        $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
  • maintenance-switch/trunk/maintenance-switch.php

    r1409704 r1417539  
    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.4
     19 * Version:           1.3.5
    2020 * Author:            Fugu
    2121 * Author URI:        http://www.fugu.fr
  • maintenance-switch/trunk/readme.txt

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