Make WordPress Core

Changeset 58055


Ignore:
Timestamp:
04/29/2024 10:30:20 PM (10 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

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

    r57987 r58055  
    366366                'items_list_navigation' => __( 'Templates list navigation' ),
    367367                'items_list'            => __( 'Templates list' ),
     368                'item_updated'          => __( 'Template updated.' ),
    368369            ),
    369370            'description'                     => __( 'Templates to include in your theme.' ),
     
    430431                'items_list_navigation' => __( 'Template parts list navigation' ),
    431432                'items_list'            => __( 'Template parts list' ),
     433                'item_updated'          => __( 'Template part updated.' ),
    432434            ),
    433435            'description'                     => __( 'Template parts to include in your templates.' ),
Note: See TracChangeset for help on using the changeset viewer.