mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Move network screen to the tools menu, See #12027
git-svn-id: https://develop.svn.wordpress.org/trunk@12830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+2
-2
@@ -138,6 +138,8 @@ $menu[75] = array( __('Tools'), 'read', 'tools.php', '', 'menu-top', 'menu-tools
|
||||
$submenu['tools.php'][20] = array( __('Upgrade'), 'install_plugins', 'update-core.php');
|
||||
if ( is_multisite() && ($current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path) )
|
||||
$submenu['tools.php'][25] = array( __('Delete Blog'), 'manage_options', 'ms-delete-site.php' );
|
||||
if ( !is_multisite() && is_super_admin() )
|
||||
$submenu['tools.php'][50] = array(__('Network'), 'manage_options', 'network.php');
|
||||
|
||||
$menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top', 'menu-settings', 'div' );
|
||||
$submenu['options-general.php'][10] = array(_x('General', 'settings screen'), 'manage_options', 'options-general.php');
|
||||
@@ -149,8 +151,6 @@ $menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '',
|
||||
$submenu['options-general.php'][40] = array(__('Permalinks'), 'manage_options', 'options-permalink.php');
|
||||
if ( is_super_admin() )
|
||||
$submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php');
|
||||
if ( !is_multisite() && is_super_admin() )
|
||||
$submenu['options-general.php'][50] = array(__('Network'), 'manage_options', 'options-network.php');
|
||||
|
||||
$_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
|
||||
|
||||
|
||||
Reference in New Issue
Block a user