Changeset 10150 for trunk/wp-admin/menu.php
- Timestamp:
- 12/09/2008 06:03:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r9989 r10150 16 16 * 3: Class 17 17 * 4: ID 18 * 5: Icon for top level menu 18 * 5: Icon for top level menu 19 19 * 20 20 * @global array $menu … … 66 66 $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' ); 67 67 $submenu['plugins.php'][5] = array( __('Installed'), 'activate_plugins', 'plugins.php' ); 68 $submenu['plugins.php'][10] = array(_c('Add New|plugin'), 'install_plugins', 'plugin-install.php'); 68 $submenu['plugins.php'][10] = array(_c('Add New|plugin'), 'install_plugins', 'plugin-install.php'); 69 69 $submenu['plugins.php'][15] = array( __('Editor'), 'edit_plugins', 'plugin-editor.php' ); 70 70 … … 105 105 106 106 // Back-compat for old top-levels 107 $_wp_real_parent_file['post.php'] = 'edit.php'; 107 $_wp_real_parent_file['post.php'] = 'edit.php'; 108 108 $_wp_real_parent_file['post-new.php'] = 'edit.php'; 109 109 $_wp_real_parent_file['page-new.php'] = 'edit-pages.php';
Note: See TracChangeset
for help on using the changeset viewer.