From 33113c01c703e70acbb9e26e7c962ea2769cc582 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 30 Sep 2011 16:47:02 +0000 Subject: [PATCH] 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 --- wp-admin/network/menu.php | 4 ++-- wp-admin/user/menu.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/network/menu.php b/wp-admin/network/menu.php index 66454827c1..449e1b37a8 100644 --- a/wp-admin/network/menu.php +++ b/wp-admin/network/menu.php @@ -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'); -?> \ No newline at end of file +?> diff --git a/wp-admin/user/menu.php b/wp-admin/user/menu.php index fd43cd66a1..5f9e4f6482 100644 --- a/wp-admin/user/menu.php +++ b/wp-admin/user/menu.php @@ -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'); -?> \ No newline at end of file +?>