From 886236bddff1920c3ac037ae3b03755b7cef62ef Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sat, 7 Feb 2026 23:47:42 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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.