WordPress.org

Make WordPress Core

Ticket #17378: 17378.patch

File 17378.patch, 4.6 KB (added by ocean90, 4 years ago)
  • wp-admin/network/menu.php

     
    1414 
    1515/* translators: Sites menu item */ 
    1616$menu[5] = array(__('Sites'), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'div'); 
    17 $submenu['sites.php'][5]  = array( __('Sites'), 'manage_sites', 'sites.php' ); 
     17$submenu['sites.php'][5]  = array( __('All Sites'), 'manage_sites', 'sites.php' ); 
    1818$submenu['sites.php'][10]  = array( _x('Add New', 'site'), 'create_sites', 'site-new.php' ); 
    1919 
    2020$menu[10] = array(__('Users'), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'div'); 
    21 $submenu['users.php'][5]  = array( __('Users'), 'manage_network_users', 'users.php' ); 
     21$submenu['users.php'][5]  = array( __('All Users'), 'manage_network_users', 'users.php' ); 
    2222$submenu['users.php'][10]  = array( _x('Add New', 'user'), 'create_users', 'user-new.php' ); 
    2323 
    2424if ( current_user_can( 'update_themes' ) ) { 
     
    3030} else { 
    3131        $menu[15] = array( __( 'Themes' ), 'manage_network_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'div' ); 
    3232} 
    33 $submenu['themes.php'][5]  = array( __('Themes'), 'manage_network_themes', 'themes.php' ); 
     33$submenu['themes.php'][5]  = array( __('Installed Themes'), 'manage_network_themes', 'themes.php' ); 
    3434$submenu['themes.php'][10] = array( _x('Add New', 'theme'), 'install_themes', 'theme-install.php' ); 
    3535$submenu['themes.php'][15] = array( _x('Editor', 'theme editor'), 'edit_themes', 'theme-editor.php' ); 
    3636 
     
    4242} else { 
    4343        $menu[20] = array( __('Plugins'), 'manage_network_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'div' ); 
    4444} 
    45 $submenu['plugins.php'][5]  = array( __('Plugins'), 'manage_network_plugins', 'plugins.php' ); 
     45$submenu['plugins.php'][5]  = array( __('Installed Plugins'), 'manage_network_plugins', 'plugins.php' ); 
    4646$submenu['plugins.php'][10] = array( _x('Add New', 'plugin editor'), 'install_plugins', 'plugin-install.php' ); 
    4747$submenu['plugins.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_plugins', 'plugin-editor.php' ); 
    4848 
    4949 
    5050$menu[25] = array(__('Settings'), 'manage_network_options', 'settings.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'div'); 
    5151if ( defined( 'MULTISITE' ) && defined( 'WP_ALLOW_MULTISITE' ) && WP_ALLOW_MULTISITE ) { 
    52         $submenu['settings.php'][5]  = array( __('Settings'), 'manage_network_options', 'settings.php' ); 
     52        $submenu['settings.php'][5]  = array( __('Network Settings'), 'manage_network_options', 'settings.php' ); 
    5353        $submenu['settings.php'][10] = array( __('Network Setup'), 'manage_network_options', 'setup.php' ); 
    5454} 
    5555 
     
    7474        $menu[30] = array( __( 'Updates' ), 'manage_network', 'upgrade.php', '', 'menu-top menu-icon-tools', 'menu-update', 'div' ); 
    7575} 
    7676 
    77 $submenu[ 'upgrade.php' ][10] = array( __( 'Updates' ), 'update_core',  'update-core.php' ); 
     77$submenu[ 'upgrade.php' ][10] = array( __( 'Available Updates' ), 'update_core',  'update-core.php' ); 
    7878$submenu[ 'upgrade.php' ][15] = array( __( 'Update Network' ), 'manage_network', 'upgrade.php' ); 
    7979unset($plugin_update_count, $theme_update_count, $wordpress_update_count, $update_count, $update_title, $update_themes, $update_plugins, $update_wordpress); 
    8080 
  • wp-admin/menu.php

     
    213213} 
    214214 
    215215$menu[75] = array( __('Tools'), 'edit_posts', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'div' ); 
    216         $submenu['tools.php'][5] = array( __('Tools'), 'edit_posts', 'tools.php' ); 
     216        $submenu['tools.php'][5] = array( __('Available Tools'), 'edit_posts', 'tools.php' ); 
    217217        $submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' ); 
    218218        $submenu['tools.php'][15] = array( __('Export'), 'export', 'export.php' ); 
    219219        if ( is_multisite() && !is_main_site() ) 
    220220                $submenu['tools.php'][25] = array( __('Delete Site'), 'manage_options', 'ms-delete-site.php' ); 
    221221        if ( ! is_multisite() && defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE ) 
    222                 $submenu['tools.php'][50] = array(__('Network'), 'manage_options', 'network.php'); 
     222                $submenu['tools.php'][50] = array(__('Network Setup'), 'manage_options', 'network.php'); 
    223223 
    224224$menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'div' ); 
    225225        $submenu['options-general.php'][10] = array(_x('General', 'settings screen'), 'manage_options', 'options-general.php');