From 444bdf49bc38883f603a584bcc119aedf98257b8 Mon Sep 17 00:00:00 2001 From: Isabel Brison Date: Tue, 11 Jul 2023 05:08:50 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@56200 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 6675a57013..22a37683ea 100644 --- a/src/wp-includes/post.php +++ b/src/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' ),