Changes in trunk/wp-admin/menu.php [14953:15193]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r14953 r15193 158 158 $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' ); 159 159 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 160 if ( current_theme_supports( ' nav-menus' ) || current_theme_supports( 'widgets' ) )160 if ( current_theme_supports( 'menus' ) || current_theme_supports( 'widgets' ) ) 161 161 $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php'); 162 162 } else { 163 163 $menu[60] = array( __('Appearance'), 'edit_theme_options', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' ); 164 164 $submenu['themes.php'][5] = array(__('Themes'), 'edit_theme_options', 'themes.php'); 165 if ( current_theme_supports( ' nav-menus' ) || current_theme_supports( 'widgets' ) )165 if ( current_theme_supports( 'menus' ) || current_theme_supports( 'widgets' ) ) 166 166 $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php' ); 167 167 }
Note: See TracChangeset
for help on using the changeset viewer.