WordPress.org

Ready to get started?Download WordPress

Forums

WPMS Site Maintenance Mode
Doesn't work in WP 3.3.1 (3 posts)

  1. julcasa
    Member
    Posted 2 years ago #

    Hi,

    Seems a nice plugin.
    I tried to Network activate it as described in the Install section.

    It was activated but :

    • doesn't show up in Site Admin > Tools, but in each sub site > Tools section
    • sends a 503 response status for the included plugin stylesheet ;-)

    Did you plan on updating the plugin to work on latest WP version?

    Thanks

    http://wordpress.org/extend/plugins/wpms-site-maintenance-mode/

  2. Joshua Parker
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the heads up. I will take a look at this and see what the issue is.

  3. RavanH
    Member
    Posted 2 years ago #

    Hi,

    To fix this, simply edit wpms-site-maintenance-mode.php in only two places.

    1. Change 'admin_menu' to 'network_admin_menu' on line 35:

    add_action('network_admin_menu',array(&$this,'add_admin_subpanel'));

    2. Change the function add_admin_subpanel to:

    function add_admin_subpanel() {
    	add_submenu_page('settings.php', __('Maintenance'), __('Maintenance'), 'manage_network_options', 'wpms_site_maint', array(&$this,'adminpage'));
    }

    Note: there is no need for the is_super_admin check and the menu title suddenly became multi-lingual ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic