Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r14953 r15193  
    158158    $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' );
    159159        $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' ) )
    161161            $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php');
    162162} else {
    163163    $menu[60] = array( __('Appearance'), 'edit_theme_options', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' );
    164164        $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' ) )
    166166            $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php' );
    167167}
Note: See TracChangeset for help on using the changeset viewer.