mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Editor: Add item_updated
label for wp_template
and wp_template_part
post types.
This adds the `item_updated` label to Template and Template Part post types registration. This prevents from displaying the default `post updated` label. See https://github.com/WordPress/gutenberg/pull/61146 Follow-up to [52062], [51003]. Props ntsekouras, ellatrix. Fixes #61095. Built from https://develop.svn.wordpress.org/trunk@58055 git-svn-id: http://core.svn.wordpress.org/trunk@57520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9a2a3dc5b3
commit
1abb7e0563
@ -365,6 +365,7 @@ function create_initial_post_types() {
|
||||
'filter_items_list' => __( 'Filter templates list' ),
|
||||
'items_list_navigation' => __( 'Templates list navigation' ),
|
||||
'items_list' => __( 'Templates list' ),
|
||||
'item_updated' => __( 'Template updated.' ),
|
||||
),
|
||||
'description' => __( 'Templates to include in your theme.' ),
|
||||
'public' => false,
|
||||
@ -429,6 +430,7 @@ function create_initial_post_types() {
|
||||
'filter_items_list' => __( 'Filter template parts list' ),
|
||||
'items_list_navigation' => __( 'Template parts list navigation' ),
|
||||
'items_list' => __( 'Template parts list' ),
|
||||
'item_updated' => __( 'Template part updated.' ),
|
||||
),
|
||||
'description' => __( 'Template parts to include in your templates.' ),
|
||||
'public' => false,
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.6-alpha-58054';
|
||||
$wp_version = '6.6-alpha-58055';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user