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.

Built from https://develop.svn.wordpress.org/trunk@61596


git-svn-id: http://core.svn.wordpress.org/trunk@60907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter
2026-02-07 23:47:42 +00:00
parent ec07201739
commit 886236bddf
2 changed files with 2 additions and 1 deletions

View File

@@ -559,6 +559,7 @@ function create_initial_post_types() {
'filter_items_list' => __( 'Filter Navigation Menu list' ),
'items_list_navigation' => __( 'Navigation Menus list navigation' ),
'items_list' => __( 'Navigation Menus list' ),
'item_updated' => __( 'Navigation Menu updated.' ),
),
'description' => __( 'Navigation menus that can be inserted into your site.' ),
'public' => false,

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-alpha-61595';
$wp_version = '7.0-alpha-61596';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.