Make WordPress Core

Changeset 18026


Ignore:
Timestamp:
05/24/2011 09:58:01 PM (13 years ago)
Author:
ryan
Message:

Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r17950 r18026  
    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' );
     
    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' );
  • trunk/wp-admin/network/menu.php

    r17822 r18026  
    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
     
    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' );
     
    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' );
     
    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}
     
    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);
Note: See TracChangeset for help on using the changeset viewer.