Make WordPress Core

Changeset 56200


Ignore:
Timestamp:
07/11/2023 05:08:50 AM (17 months ago)
Author:
isabel_brison
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r56192 r56200  
    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' ),
Note: See TracChangeset for help on using the changeset viewer.