[wp-trac] [WordPress Trac] #64611: Snackbar notice shows wrong message when updating navigation menus in block editor
WordPress Trac
noreply at wordpress.org
Sat Feb 7 10:32:49 UTC 2026
#64611: Snackbar notice shows wrong message when updating navigation menus in block
editor
--------------------------+-----------------------------
Reporter: juanfra | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When updating a navigation menu in the block editor, the snackbar
notification displays the generic message "Post updated." instead of the
more specific "Navigation Menu updated." message.
**Steps to Reproduce**
1. Navigate to the Site Editor
2. Edit a navigation menu (`wp_navigation` post type)
3. Make changes and save
4. Observe the snackbar notification
**Expected behavior:** The snackbar should display "Navigation Menu
updated."
**Actual behavior:** The snackbar displays "Post updated."
**Root Cause**
The `wp_navigation` post type registration in `wp-includes/post.php` is
missing the `item_updated` label in its `labels` array. The block editor's
snackbar notification system uses this label from the REST API response to
display the appropriate update message. Without this label, it falls back
to the default "Post updated." message.
**Solution**
Add the `item_updated` label to the `wp_navigation` post type
registration, following the same pattern used by other built-in post types
like `wp_template`, `wp_template_part`, and `wp_block` (Patterns).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64611>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list