WordPress.org

Make WordPress Core

Ticket #12442: 12442.diff

File 12442.diff, 984 bytes (added by markmcwilliams, 6 years ago)
  • menu.php

     
    105105$menu[59] = array( '', 'read', 'separator2', '', 'wp-menu-separator' ); 
    106106 
    107107$menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top', 'menu-appearance', 'div' ); 
    108         $submenu['themes.php'][5]  = array(__('Themes'), 'switch_themes', 'themes.php'); 
    109         $submenu['themes.php'][10] = array(_x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php'); 
    110         $submenu['themes.php'][20] = array(__('Menus'), 'switch_themes', 'nav-menus.php'); 
     108        $submenu['themes.php'][5]  = array( __('Themes'), 'switch_themes', 'themes.php' ); 
     109        $submenu['themes.php'][10] = array( __('Menus'), 'switch_themes', 'nav-menus.php' ); 
     110        $submenu['themes.php'][20] = array( _x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php' ); 
    111111 
    112112$update_plugins = get_site_transient( 'update_plugins' ); 
    113113$update_count = 0;