Make WordPress Core


Ignore:
Timestamp:
02/08/2025 11:42:29 AM (5 months ago)
Author:
audrasjb
Message:

Administration: Replace "Add New {Item}" wording with "Add {Item}" across the administration.

This changeset replaces each occurrence of "Add New {Item}" label with "Add {Item}" in WordPress administration, to make the interface more consistent and simplify the translation effort.

Props jameskoster, audrasjb, ntsekouras, afercia, peterwilsoncc, youknowriad, joedolson, sukhendu2002, jdy68, beryldlg, fxbenard.
See #61219.

File:
1 edited

Legend:

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

    r59678 r59784  
    5656$menu[5]                  = array( __( 'Sites' ), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'dashicons-admin-multisite' );
    5757$submenu['sites.php'][5]  = array( __( 'All Sites' ), 'manage_sites', 'sites.php' );
    58 $submenu['sites.php'][10] = array( __( 'Add New Site' ), 'create_sites', 'site-new.php' );
     58$submenu['sites.php'][10] = array( __( 'Add Site' ), 'create_sites', 'site-new.php' );
    5959
    6060$menu[10]                 = array( __( 'Users' ), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' );
    6161$submenu['users.php'][5]  = array( __( 'All Users' ), 'manage_network_users', 'users.php' );
    62 $submenu['users.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );
     62$submenu['users.php'][10] = array( __( 'Add User' ), 'create_users', 'user-new.php' );
    6363
    6464if ( current_user_can( 'update_themes' ) && $update_data['counts']['themes'] ) {
     
    8484}
    8585$submenu['themes.php'][5]  = array( __( 'Installed Themes' ), 'manage_network_themes', 'themes.php' );
    86 $submenu['themes.php'][10] = array( __( 'Add New Theme' ), 'install_themes', 'theme-install.php' );
     86$submenu['themes.php'][10] = array( __( 'Add Theme' ), 'install_themes', 'theme-install.php' );
    8787$submenu['themes.php'][15] = array( __( 'Theme File Editor' ), 'edit_themes', 'theme-editor.php' );
    8888
     
    109109}
    110110$submenu['plugins.php'][5]  = array( __( 'Installed Plugins' ), 'manage_network_plugins', 'plugins.php' );
    111 $submenu['plugins.php'][10] = array( __( 'Add New Plugin' ), 'install_plugins', 'plugin-install.php' );
     111$submenu['plugins.php'][10] = array( __( 'Add Plugin' ), 'install_plugins', 'plugin-install.php' );
    112112$submenu['plugins.php'][15] = array( __( 'Plugin File Editor' ), 'edit_plugins', 'plugin-editor.php' );
    113113
Note: See TracChangeset for help on using the changeset viewer.