Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751

git-svn-id: https://develop.svn.wordpress.org/trunk@18839 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-09-30 16:47:02 +00:00
parent cff31ae5f5
commit f1423b28e5
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
*/
/* translators: Network menu item */
$menu[0] = array(__('Dashboard'), 'manage_network', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div');
$menu[2] = array(__('Dashboard'), 'manage_network', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div');
$menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
@ -63,4 +63,4 @@ $menu[99] = array( '', 'read', 'separator-last', '', 'wp-menu-separator-last' );
require_once(ABSPATH . 'wp-admin/includes/menu.php');
?>
?>

View File

@ -7,7 +7,7 @@
* @since 3.1.0
*/
$menu[0] = array(__('Dashboard'), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div');
$menu[2] = array(__('Dashboard'), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div');
$menu[4] = array( '', 'exist', 'separator1', '', 'wp-menu-separator' );
@ -21,4 +21,4 @@ $submenu = array();
require_once(ABSPATH . 'wp-admin/includes/menu.php');
?>
?>