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

git-svn-id: http://svn.automattic.com/wordpress/trunk@18839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-09-30 16:47:02 +00:00
parent 559085db40
commit 33113c01c7
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');
?>
?>