From 2997b17eb78bd94f6f233d887d2fd91fba046127 Mon Sep 17 00:00:00 2001 From: isabel_brison Date: Tue, 11 Jul 2023 05:10:23 +0000 Subject: [PATCH] Editor: update string incorrectly marked for translation in Chrome. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the Pattern post type `edit_item` label to be `Edit Block Pattern` instead of `Edit Pattern` so Chrome doesn’t open the translation modal. Props andrewserong,, ramonopoly, eric.7186, audrasjb, wildworks, Toro_Unit. Fixes #58716. Built from https://develop.svn.wordpress.org/trunk@56200 git-svn-id: http://core.svn.wordpress.org/trunk@55712 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 6675a57013..22a37683ea 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -287,7 +287,7 @@ function create_initial_post_types() { 'add_new' => _x( 'Add New', 'Pattern' ), 'add_new_item' => __( 'Add new Pattern' ), 'new_item' => __( 'New Pattern' ), - 'edit_item' => __( 'Edit Pattern' ), + 'edit_item' => __( 'Edit Block Pattern' ), 'view_item' => __( 'View Pattern' ), 'view_items' => __( 'View Patterns' ), 'all_items' => __( 'All Patterns' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index d8963e5cf1..b8f0984c7b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-beta3-56199'; +$wp_version = '6.3-beta3-56200'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.