Ticket #28934: 28934.patch
File 28934.patch, 1.1 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/admin-menu.css
480 480 cursor: inherit; 481 481 } 482 482 483 /* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */484 #adminmenu div.separator {485 height: 2px;486 padding: 0;487 }488 489 483 #adminmenu .wp-submenu .wp-submenu-head { 490 484 color: #fff; 491 485 font-weight: 400; -
src/wp-admin/menu-header.php
106 106 107 107 echo "\n\t<li$class$id>"; 108 108 109 if ( false !== strpos( $class, 'wp-menu-separator' ) ) { 110 echo '<div class="separator"></div>'; 111 } elseif ( $submenu_as_parent && ! empty( $submenu_items ) ) { 109 if ( $submenu_as_parent && ! empty( $submenu_items ) ) { 112 110 $submenu_items = array_values( $submenu_items ); // Re-index. 113 111 $menu_hook = get_plugin_page_hook( $submenu_items[0][2], $item[2] ); 114 112 $menu_file = $submenu_items[0][2];