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/upload.php

    r57796 r59784  
    213213                if ( current_user_can( 'upload_files' ) ) {
    214214                        ?>
    215                         <a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html__( 'Add New Media File' ); ?></a>
     215                        <a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html__( 'Add Media File' ); ?></a>
    216216                        <?php
    217217                }
    … …  
    420420if ( current_user_can( 'upload_files' ) ) {
    421421        ?>
    422         <a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add New Media File' ); ?></a>
     422        <a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add Media File' ); ?></a>
    423423                                                <?php
    424424}
Note: See TracChangeset for help on using the changeset viewer.