Make WordPress Core


Ignore:
Timestamp:
02/08/2025 11:42:29 AM (18 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/user-new.php

    r58999 r59784  
    262262
    263263// Used in the HTML title tag.
    264 $title       = __( 'Add New User' );
     264$title       = __( 'Add User' );
    265265$parent_file = 'users.php';
    266266
     
    270270}
    271271
    272 $help = '<p>' . __( 'To add a new user to your site, fill in the form on this screen and click the Add New User button at the bottom.' ) . '</p>';
     272$help = '<p>' . __( 'To add a new user to your site, fill in the form on this screen and click the Add User button at the bottom.' ) . '</p>';
    273273
    274274if ( is_multisite() ) {
     
    281281}
    282282
    283 $help .= '<p>' . __( 'Remember to click the Add New User button at the bottom of this screen when you are finished.' ) . '</p>';
     283$help .= '<p>' . __( 'Remember to click the Add User button at the bottom of this screen when you are finished.' ) . '</p>';
    284284
    285285get_current_screen()->add_help_tab(
     
    384384<?php
    385385if ( current_user_can( 'create_users' ) ) {
    386         _e( 'Add New User' );
     386        _e( 'Add User' );
    387387} elseif ( current_user_can( 'promote_users' ) ) {
    388388        _e( 'Add Existing User' );
     
    508508if ( current_user_can( 'create_users' ) ) {
    509509        if ( $do_both ) {
    510                 echo '<h2 id="create-new-user">' . __( 'Add New User' ) . '</h2>';
     510                echo '<h2 id="create-new-user">' . __( 'Add User' ) . '</h2>';
    511511        }
    512512        ?>
     
    660660        ?>
    661661
    662         <?php submit_button( __( 'Add New User' ), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?>
     662        <?php submit_button( __( 'Add User' ), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?>
    663663
    664664</form>
Note: See TracChangeset for help on using the changeset viewer.