Ticket #21413: 21413.7.diff
File 21413.7.diff, 1001 bytes (added by , 12 years ago) |
---|
-
wp-admin/menu.php
139 139 $appearance_cap = current_user_can( 'switch_themes') ? 'switch_themes' : 'edit_theme_options'; 140 140 141 141 $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'][4] = array(__( 'Themes' ), $appearance_cap, 'themes.php'); 143 $submenu['themes.php'][5] = array( __( 'Customize' ), $appearance_cap, 'customize.php', 'hide-if-no-customize' ); 144 144 if ( current_theme_supports( 'menus' ) || current_theme_supports( 'widgets' ) ) 145 145 $submenu['themes.php'][10] = array(__( 'Menus' ), 'edit_theme_options', 'nav-menus.php'); 146 146