Skip to content

Commit 444bdf4

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@56200 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 7813524 commit 444bdf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ function create_initial_post_types() {
287287
'add_new' => _x( 'Add New', 'Pattern' ),
288288
'add_new_item' => __( 'Add new Pattern' ),
289289
'new_item' => __( 'New Pattern' ),
290-
'edit_item' => __( 'Edit Pattern' ),
290+
'edit_item' => __( 'Edit Block Pattern' ),
291291
'view_item' => __( 'View Pattern' ),
292292
'view_items' => __( 'View Patterns' ),
293293
'all_items' => __( 'All Patterns' ),

0 commit comments

Comments
 (0)