Changeset 14831 for trunk/wp-admin/menu.php
- Timestamp:
- 05/24/2010 09:23:56 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/menu.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r14713 r14831 150 150 $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' ); 151 151 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 152 $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php'); 152 if ( current_theme_supports( 'nav-menus' ) || current_theme_supports( 'widgets' ) ) 153 $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php'); 153 154 } else { 154 155 $menu[60] = array( __('Appearance'), 'edit_theme_options', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' ); 155 156 $submenu['themes.php'][5] = array(__('Themes'), 'edit_theme_options', 'themes.php'); 156 $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php' ); 157 if ( current_theme_supports( 'nav-menus' ) || current_theme_supports( 'widgets' ) ) 158 $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php' ); 157 159 } 158 160
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)