WordPress.org

Make WordPress Core

Changeset 18839


Ignore:
Timestamp:
09/30/11 16:47:02 (3 years ago)
Author:
ryan
Message:

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

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/menu.php

    r18468 r18839  
    99 
    1010/* translators: Network menu item */ 
    11 $menu[0] = array(__('Dashboard'), 'manage_network', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div'); 
     11$menu[2] = array(__('Dashboard'), 'manage_network', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div'); 
    1212 
    1313$menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' ); 
  • trunk/wp-admin/user/menu.php

    r15879 r18839  
    88 */ 
    99 
    10 $menu[0] = array(__('Dashboard'), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div'); 
     10$menu[2] = array(__('Dashboard'), 'exist', 'index.php', '', 'menu-top menu-top-first menu-icon-dashboard', 'menu-dashboard', 'div'); 
    1111 
    1212$menu[4] = array( '', 'exist', 'separator1', '', 'wp-menu-separator' ); 
Note: See TracChangeset for help on using the changeset viewer.