Make WordPress Core

Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#61095 closed defect (bug) (fixed)

Backport: Template and template parts updated labels

Reported by: ntsekouras's profile ntsekouras Owned by: audrasjb's profile audrasjb
Milestone: 6.6 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch commit
Focuses: Cc:

Description

In this Gutenberg PR: https://github.com/WordPress/gutenberg/pull/61146 we added the item_updated label to template and template parts labels. We need to back port this for the next release.

If you save/update a template in post editor right now, the notification message renders post updated. You can test this only with templates right now, since the editing of template parts in isolation in post editor will be available in the next release.

Change History (4)

This ticket was mentioned in PR #6457 on WordPress/wordpress-develop by @ntsekouras.


13 months ago
#1

  • Keywords has-patch added

Trac ticket: https://core.trac.wordpress.org/ticket/61095#ticket

In this Gutenberg PR: https://github.com/WordPress/gutenberg/pull/61146 we added the item_updated label to template and template parts labels. We need to back port this for the next release.

If you save/update a template in post editor right now, the notification message renders post updated. You can test this only with templates right now, since the editing of template parts in isolation in post editor will be available in the next release.

#2 @audrasjb
13 months ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 6.6
  • Owner set to audrasjb
  • Status changed from new to accepted

Thanks for the ticket and patch!
Marking this as ready for commit and assigning to milestone 6.6.

#3 @audrasjb
13 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 58055:

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.

Note: See TracTickets for help on using tickets.