Commit ac29911c7f for wordpress.org
commit ac29911c7f888375169467c6c0b6e075a32474ce
Author: Weston Ruter <weston@xwp.co>
Date: Sat Feb 7 23:47:42 2026 +0000
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
diff --git a/wp-includes/post.php b/wp-includes/post.php
index 70abcfb113..4382aa003f 100644
--- a/wp-includes/post.php
+++ b/wp-includes/post.php
@@ -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,
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 316767a25e..b0de955cb6 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -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.