Support » Plugin: WPMS Site Maintenance Mode » [Plugin: WPMS Site Maintenance Mode] Doesn't work in WP 3.3.1

  • julcasa

    (@julcasa)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joshua Parker

    (@parkerj)

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

    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 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WPMS Site Maintenance Mode] Doesn't work in WP 3.3.1’ is closed to new replies.