Editor: update string incorrectly marked for translation in Chrome.

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
This commit is contained in:
isabel_brison 2023-07-11 05:10:23 +00:00
parent 1ee477dbe4
commit 2997b17eb7
2 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ function create_initial_post_types() {
'add_new' => _x( 'Add New', 'Pattern' ), 'add_new' => _x( 'Add New', 'Pattern' ),
'add_new_item' => __( 'Add new Pattern' ), 'add_new_item' => __( 'Add new Pattern' ),
'new_item' => __( 'New Pattern' ), 'new_item' => __( 'New Pattern' ),
'edit_item' => __( 'Edit Pattern' ), 'edit_item' => __( 'Edit Block Pattern' ),
'view_item' => __( 'View Pattern' ), 'view_item' => __( 'View Pattern' ),
'view_items' => __( 'View Patterns' ), 'view_items' => __( 'View Patterns' ),
'all_items' => __( 'All Patterns' ), 'all_items' => __( 'All Patterns' ),

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.