Changeset 10568 for trunk/wp-admin/menu.php
- Timestamp:
- 02/13/2009 10:57:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r10566 r10568 62 62 $_wp_last_object_menu = 25; // The index of the last top-level menu in the object menu group 63 63 64 $menu[ 39] = array( '', 'read', '', '', 'wp-menu-separator' );65 66 $menu[ 40] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top', 'menu-appearance', 'div' );64 $menu[59] = array( '', 'read', '', '', 'wp-menu-separator' ); 65 66 $menu[60] = array( __('Appearance'), 'switch_themes', 'themes.php', '', 'menu-top', 'menu-appearance', 'div' ); 67 67 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 68 68 $submenu['themes.php'][10] = array(__('Editor'), 'edit_themes', 'theme-editor.php'); … … 74 74 $update_count = count( $update_plugins->response ); 75 75 76 $menu[ 45] = array( sprintf( __('Plugins %s'), "<span class='update-plugins count-$update_count'><span class='plugin-count'>" . number_format_i18n($update_count) . "</span></span>" ), 'activate_plugins', 'plugins.php', '', 'menu-top', 'menu-plugins', 'div' );76 $menu[65] = array( sprintf( __('Plugins %s'), "<span class='update-plugins count-$update_count'><span class='plugin-count'>" . number_format_i18n($update_count) . "</span></span>" ), 'activate_plugins', 'plugins.php', '', 'menu-top', 'menu-plugins', 'div' ); 77 77 $submenu['plugins.php'][5] = array( __('Installed'), 'activate_plugins', 'plugins.php' ); 78 78 $submenu['plugins.php'][10] = array(_c('Add New|plugin'), 'install_plugins', 'plugin-install.php'); … … 80 80 81 81 if ( current_user_can('edit_users') ) 82 $menu[ 50] = array( __('Users'), 'edit_users', 'users.php', '', 'menu-top', 'menu-users', 'div' );82 $menu[70] = array( __('Users'), 'edit_users', 'users.php', '', 'menu-top', 'menu-users', 'div' ); 83 83 else 84 $menu[ 50] = array( __('Profile'), 'read', 'profile.php', '', 'menu-top', 'menu-users', 'div' );84 $menu[70] = array( __('Profile'), 'read', 'profile.php', '', 'menu-top', 'menu-users', 'div' ); 85 85 86 86 if ( current_user_can('edit_users') ) { … … 94 94 } 95 95 96 $menu[ 55] = array( __('Tools'), 'read', 'tools.php', '', 'menu-top', 'menu-tools', 'div' );96 $menu[75] = array( __('Tools'), 'read', 'tools.php', '', 'menu-top', 'menu-tools', 'div' ); 97 97 $submenu['tools.php'][5] = array( __('Tools'), 'read', 'tools.php' ); 98 98 $submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' ); … … 100 100 $submenu['tools.php'][20] = array( __('Upgrade'), 'install_plugins', 'update-core.php'); 101 101 102 $menu[ 60] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top', 'menu-settings', 'div' );102 $menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top', 'menu-settings', 'div' ); 103 103 $submenu['options-general.php'][10] = array(__('General'), 'manage_options', 'options-general.php'); 104 104 $submenu['options-general.php'][15] = array(__('Writing'), 'manage_options', 'options-writing.php'); … … 110 110 $submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php'); 111 111 112 $_wp_last_utility_menu = 60; // The index of the last top-level menu in the utility menu group113 114 $menu[ 79] = array( '', 'read', '', '', 'wp-menu-separator-last' );112 $_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group 113 114 $menu[99] = array( '', 'read', '', '', 'wp-menu-separator-last' ); 115 115 116 116 // Back-compat for old top-levels
Note: See TracChangeset
for help on using the changeset viewer.