WordPress.org

Make WordPress Core

Changeset 13003


Ignore:
Timestamp:
02/07/2010 04:13:22 AM (8 years ago)
Author:
wpmuguru
Message:

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

File:
1 edited

Legend:

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

    r12993 r13003  
    3838
    3939    $menu[1] = array( '', 'read', 'separator1', '', 'wp-menu-separator' );
    40 }
    41 
    42 $menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top', 'menu-dashboard', 'div' );
     40
     41    $menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top', 'menu-dashboard', 'div' );
     42} else {
     43    $menu[2] = array( __('Dashboard'), 'read', 'index.php', '', 'menu-top menu-top-first', 'menu-dashboard', 'div' );
     44}
     45
    4346if ( is_multisite() ) {
    4447    $submenu[ 'index.php' ][0] = array( __('Dashboard'), 'read', 'index.php' );
Note: See TracChangeset for help on using the changeset viewer.