Skip to content

Commit fc0cdbc

Browse files
committed
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 WordPress#10882 Follow-up to [58055], [52145], [52069]. Props juanfra. See #61095. Fixes #64611. git-svn-id: https://develop.svn.wordpress.org/trunk@61596 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3fda725 commit fc0cdbc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-includes/post.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ function create_initial_post_types() {
559559
'filter_items_list' => __( 'Filter Navigation Menu list' ),
560560
'items_list_navigation' => __( 'Navigation Menus list navigation' ),
561561
'items_list' => __( 'Navigation Menus list' ),
562+
'item_updated' => __( 'Navigation Menu updated.' ),
562563
),
563564
'description' => __( 'Navigation menus that can be inserted into your site.' ),
564565
'public' => false,

0 commit comments

Comments
 (0)