Menu updates: single top level menus, B&W/color icons (sprite), fix for the Firefox bug of not firing mouseout on absolute positioned elements over textareas/text fields, scaling down properly for different user roles, includes patch by Ryan, fixes #7966

git-svn-id: https://develop.svn.wordpress.org/trunk@9578 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-11-09 14:54:39 +00:00
parent 1faf521908
commit 4ebfcd94a5
26 changed files with 592 additions and 158 deletions

View File

@@ -549,10 +549,9 @@ function add_menu_page( $page_title, $menu_title, $access_level, $file, $functio
add_action( $hookname, $function );
if ( empty($icon_url) )
$icon_url = 'images/menu/generic.png';
$icon_url = 'images/generic.png';
$menu[] = array ( $menu_title, $access_level, $file, $page_title, 'menu-top-single ' . $hookname, $hookname, $icon_url );
$menu[] = array ( '', $access_level, '', '', 'wp-menu-separator-last' );
$menu[] = array ( $menu_title, $access_level, $file, $page_title, 'menu-top ' . $hookname, $hookname, $icon_url );
return $hookname;
}