From f9d3aac7af7fea193f692f788e161ab783fda7a3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 31 May 2022 18:37:26 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@53453 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 288704c66d..67621e1a0d 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -75,7 +75,7 @@ function create_initial_post_types() { 'labels' => array( 'name' => _x( 'Media', 'post type general name' ), 'name_admin_bar' => _x( 'Media', 'add new from admin bar' ), - 'add_new' => _x( 'Add New', 'add new media' ), + 'add_new' => _x( 'Add New', 'file' ), 'edit_item' => __( 'Edit Media' ), 'view_item' => __( 'View Attachment Page' ), 'attributes' => __( 'Attachment Attributes' ),