Make WordPress Core


Ignore:
Timestamp:
02/08/2025 11:42:29 AM (20 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/site-users.php

    r56409 r59784  
    342342 * Filters whether to show the Add New User form on the Multisite Users screen.
    343343 *
     344 * Note: While WordPress is moving towards simplifying labels by removing "New" from "Add New X" labels,
     345 * we keep "Add New User" here to maintain a clear distinction from the "Add Existing User" section above.
     346 *
    344347 * @since 3.1.0
    345348 *
    … …  
    375378        </table>
    376379        <?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ); ?>
    377         <?php submit_button( __( 'Add New User' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-user' ) ); ?>
     380        <?php submit_button( __( 'Add User' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-user' ) ); ?>
    378381</form>
    379382<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.