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

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.