From f2a7f4a387d32dbab13c3ea7a3258dcf3b034f5d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 31 May 2022 18:39:10 +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. Built from https://develop.svn.wordpress.org/trunk@53453 git-svn-id: http://core.svn.wordpress.org/trunk@53042 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 288704c66d..67621e1a0d 100644 --- a/wp-includes/post.php +++ b/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' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 08b19ddeb4..cf2a35b932 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53452'; +$wp_version = '6.1-alpha-53453'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.