Make WordPress Core


Ignore:
Timestamp:
04/22/2013 07:33:39 PM (12 years ago)
Author:
nacin
Message:

Revert [23871] - Customize should be added to the menu, but not hacked in as first. see #21413.

File:
1 edited

Legend:

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

    r23871 r24048  
    138138
    139139$appearance_cap = current_user_can( 'switch_themes') ? 'switch_themes' : 'edit_theme_options';
    140  
     140
    141141$menu[60] = array( __('Appearance'), $appearance_cap, 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' );
    142     $submenu['themes.php'][4] = array( __( 'Customize' ), $appearance_cap, 'customize.php', 'hide-if-no-customize' );
    143     $submenu['themes.php'][5] = array(__( 'Themes' ), $appearance_cap, 'themes.php');
     142    $submenu['themes.php'][5] = array( __( 'Themes' ), $appearance_cap, 'themes.php' );
     143    $submenu['themes.php'][6] = array( __( 'Customize' ), $appearance_cap, 'customize.php', 'hide-if-no-customize' );
    144144    if ( current_theme_supports( 'menus' ) || current_theme_supports( 'widgets' ) )
    145145        $submenu['themes.php'][10] = array(__( 'Menus' ), 'edit_theme_options', 'nav-menus.php');
Note: See TracChangeset for help on using the changeset viewer.