Changeset 56515 for trunk/src/wp-admin/menu.php
- Timestamp:
- 09/05/2023 07:24:31 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/menu.php
r56302 r56515 66 66 $menu[10] = array( __( 'Media' ), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'dashicons-admin-media' ); 67 67 $submenu['upload.php'][5] = array( __( 'Library' ), 'upload_files', 'upload.php' ); 68 /* translators: Add new file. */ 69 $submenu['upload.php'][10] = array( _x( 'Add New', 'file' ), 'upload_files', 'media-new.php' ); 68 $submenu['upload.php'][10] = array( __( 'Add New Media File' ), 'upload_files', 'media-new.php' ); 70 69 $i = 15; 71 70 foreach ( get_taxonomies_for_attachments( 'objects' ) as $tax ) { … … 80 79 $menu[15] = array( __( 'Links' ), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'dashicons-admin-links' ); 81 80 $submenu['link-manager.php'][5] = array( _x( 'All Links', 'admin menu' ), 'manage_links', 'link-manager.php' ); 82 /* translators: Add new links. */ 83 $submenu['link-manager.php'][10] = array( _x( 'Add New', 'link' ), 'manage_links', 'link-add.php' ); 81 $submenu['link-manager.php'][10] = array( __( 'Add New Link' ), 'manage_links', 'link-add.php' ); 84 82 $submenu['link-manager.php'][15] = array( __( 'Link Categories' ), 'manage_categories', 'edit-tags.php?taxonomy=link_category' ); 85 83 … … 305 303 306 304 if ( ! is_multisite() ) { 307 /* translators: Add new plugin. */ 308 $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' ); 305 $submenu['plugins.php'][10] = array( __( 'Add New Plugin' ), 'install_plugins', 'plugin-install.php' ); 309 306 if ( wp_is_block_theme() ) { 310 307 // Place the menu item below the Theme File Editor menu item. … … 327 324 $submenu['users.php'][5] = array( __( 'All Users' ), 'list_users', 'users.php' ); 328 325 if ( current_user_can( 'create_users' ) ) { 329 $submenu['users.php'][10] = array( _ x( 'Add New', 'user' ), 'create_users', 'user-new.php' );326 $submenu['users.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' ); 330 327 } elseif ( is_multisite() ) { 331 $submenu['users.php'][10] = array( _ x( 'Add New', 'user' ), 'promote_users', 'user-new.php' );328 $submenu['users.php'][10] = array( __( 'Add New User' ), 'promote_users', 'user-new.php' ); 332 329 } 333 330
Note: See TracChangeset
for help on using the changeset viewer.