8080$ menu [4 ] = array ( '' , 'read ' , 'separator1 ' , '' , 'wp-menu-separator ' );
8181
8282$ menu [5 ] = array ( __ ('Posts ' ), 'edit_posts ' , 'edit.php ' , '' , 'open-if-no-js menu-top menu-icon-post ' , 'menu-posts ' , 'div ' );
83- $ submenu ['edit.php ' ][5 ] = array ( __ ('Edit ' ), 'edit_posts ' , 'edit.php ' );
83+ $ submenu ['edit.php ' ][5 ] = array ( __ ('Posts ' ), 'edit_posts ' , 'edit.php ' );
8484 /* translators: add new post */
8585 $ submenu ['edit.php ' ][10 ] = array ( _x ('Add New ' , 'post ' ), 'edit_posts ' , 'post-new.php ' );
8686
9999 $ submenu ['upload.php ' ][10 ] = array ( _x ('Add New ' , 'file ' ), 'upload_files ' , 'media-new.php ' );
100100
101101$ menu [15 ] = array ( __ ('Links ' ), 'manage_links ' , 'link-manager.php ' , '' , 'menu-top menu-icon-links ' , 'menu-links ' , 'div ' );
102- $ submenu ['link-manager.php ' ][5 ] = array ( __ ('Edit ' ), 'manage_links ' , 'link-manager.php ' );
102+ $ submenu ['link-manager.php ' ][5 ] = array ( __ ('Links ' ), 'manage_links ' , 'link-manager.php ' );
103103 /* translators: add new links */
104104 $ submenu ['link-manager.php ' ][10 ] = array ( _x ('Add New ' , 'link ' ), 'manage_links ' , 'link-add.php ' );
105105 $ submenu ['link-manager.php ' ][15 ] = array ( __ ('Link Categories ' ), 'manage_categories ' , 'edit-link-categories.php ' );
106106
107107$ menu [20 ] = array ( __ ('Pages ' ), 'edit_pages ' , 'edit.php?post_type=page ' , '' , 'menu-top menu-icon-page ' , 'menu-pages ' , 'div ' );
108- $ submenu ['edit.php?post_type=page ' ][5 ] = array ( __ ('Edit ' ), 'edit_pages ' , 'edit.php?post_type=page ' );
108+ $ submenu ['edit.php?post_type=page ' ][5 ] = array ( __ ('Pages ' ), 'edit_pages ' , 'edit.php?post_type=page ' );
109109 /* translators: add new page */
110110 $ submenu ['edit.php?post_type=page ' ][10 ] = array ( _x ('Add New ' , 'page ' ), 'edit_pages ' , 'post-new.php?post_type=page ' );
111111
131131 $ ptype_menu_position ++;
132132
133133 $ menu [$ ptype_menu_position ] = array ( esc_attr ( $ ptype_obj ->labels ->name ), $ ptype_obj ->cap ->edit_posts , "edit.php?post_type= $ ptype " , '' , 'menu-top menu-icon- ' . $ ptype_class , 'menu-posts- ' . $ ptype_for_id , $ menu_icon );
134- $ submenu ["edit.php?post_type= $ ptype " ][5 ] = array ( $ ptype_obj ->labels ->edit , $ ptype_obj ->cap ->edit_posts , "edit.php?post_type= $ ptype " );
134+ $ submenu ["edit.php?post_type= $ ptype " ][5 ] = array ( $ ptype_obj ->labels ->name , $ ptype_obj ->cap ->edit_posts , "edit.php?post_type= $ ptype " );
135135 $ submenu ["edit.php?post_type= $ ptype " ][10 ] = array ( $ ptype_obj ->labels ->add_new , $ ptype_obj ->cap ->edit_posts , "post-new.php?post_type= $ ptype " );
136136
137137 $ i = 15 ;
@@ -173,7 +173,7 @@ function _add_themes_utility_last() {
173173$ menu_perms = get_site_option ('menu_items ' , array ());
174174if ( is_super_admin () || ( is_multisite () && isset ($ menu_perms ['plugins ' ]) && $ menu_perms ['plugins ' ] ) ) {
175175 $ 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-icon-plugins ' , 'menu-plugins ' , 'div ' );
176- $ submenu ['plugins.php ' ][5 ] = array ( __ ('Installed ' ), 'activate_plugins ' , 'plugins.php ' );
176+ $ submenu ['plugins.php ' ][5 ] = array ( __ ('Plugins ' ), 'activate_plugins ' , 'plugins.php ' );
177177 /* translators: add new plugin */
178178 $ submenu ['plugins.php ' ][10 ] = array (_x ('Add New ' , 'plugin ' ), 'install_plugins ' , 'plugin-install.php ' );
179179 $ submenu ['plugins.php ' ][15 ] = array ( _x ('Editor ' , 'plugin editor ' ), 'edit_plugins ' , 'plugin-editor.php ' );
@@ -187,7 +187,7 @@ function _add_themes_utility_last() {
187187
188188if ( current_user_can ('list_users ' ) ) {
189189 $ _wp_real_parent_file ['profile.php ' ] = 'users.php ' ; // Back-compat for plugins adding submenus to profile.php.
190- $ submenu ['users.php ' ][5 ] = array (__ ('Authors & Users ' ), 'list_users ' , 'users.php ' );
190+ $ submenu ['users.php ' ][5 ] = array (__ ('Users ' ), 'list_users ' , 'users.php ' );
191191 $ submenu ['users.php ' ][10 ] = array (_x ('Add New ' , 'user ' ), 'create_users ' , 'user-new.php ' );
192192
193193 $ submenu ['users.php ' ][15 ] = array (__ ('Your Profile ' ), 'read ' , 'profile.php ' );
0 commit comments