Add rounded top corners to dashboard menu when there is no network menu, fixes #12151

git-svn-id: http://svn.automattic.com/wordpress/trunk@13003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru 2010-02-07 04:13:22 +00:00
parent 90e046f5cd
commit b21a238a87
1 changed files with 4 additions and 1 deletions

View File

@ -37,9 +37,12 @@ if ( is_multisite() && is_super_admin() ) {
$submenu[ 'ms-admin.php' ][30] = array( __('Upgrade'), 'super_admin', 'ms-upgrade-site.php' );
$menu[1] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
$menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top', 'menu-dashboard', 'div' );
} else {
$menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top menu-top-first', 'menu-dashboard', 'div' );
}
$menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top', 'menu-dashboard', 'div' );
if ( is_multisite() ) {
$submenu[ 'index.php' ][0] = array( __('Dashboard'), 'read', 'index.php' );
$submenu[ 'index.php' ][5] = array( __('My Sites'), 'read', 'my-sites.php' );