Make WordPress Core

Changeset 53453


Ignore:
Timestamp:
05/31/2022 06:37:26 PM (3 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use consistent context for the "Add New" string when referring to media.

This replaces the only instance of the add new media context with file, used in other instances of the string.

Follow-up to [9198], [10680], [21948].

Props benjgrolleau, tobifjellner, SergeyBiryukov.
Fixes #55876.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r53300 r53453  
    7676                'name'           => _x( 'Media', 'post type general name' ),
    7777                'name_admin_bar' => _x( 'Media', 'add new from admin bar' ),
    78                 'add_new'        => _x( 'Add New', 'add new media' ),
     78                'add_new'        => _x( 'Add New', 'file' ),
    7979                'edit_item'      => __( 'Edit Media' ),
    8080                'view_item'      => __( 'View Attachment Page' ),
Note: See TracChangeset for help on using the changeset viewer.