Make WordPress Core

Opened 22 months ago

Closed 22 months ago

Last modified 19 hours 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 (5)

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


22 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
22 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
22 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.

#5 @westonruter
19 hours ago

In 61596:

Menus: Add item_updated label for wp_navigation post type.

This ensures the appropriate "Navigation Menu updated." message is shown in the snackbar after updating a navigation menu in the Site Editor. Without this, a generic "Post updated." message is displayed.

Developed in https://github.com/WordPress/wordpress-develop/pull/10882

Follow-up to [58055], [52145], [52069].

Props juanfra.
See #61095.
Fixes #64611.

Note: See TracTickets for help on using tickets.