Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 9 months ago

#61095 closed defect (bug) (fixed)

Backport: Template and template parts updated labels

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

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.


3 years 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
3 years ago

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

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

#3 @audrasjb
3 years ago

  • Resolution → fixed
  • Status accepted → 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
9 months 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.