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:
parent
559085db40
commit
33113c01c7
|
@ -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' );
|
||||
|
||||
|
|
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue