Changeset 45727
- Timestamp:
- 08/03/2019 12:18:50 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r45723 r45727 1431 1431 if ( ! empty( $menu_obj->ID ) ) { 1432 1432 $menu_obj = wp_setup_nav_menu_item( $menu_obj ); 1433 $menu_obj->title = empty( $menu_obj->title ) ? __( 'Menu Item' ) : $menu_obj->title; 1433 1434 $menu_obj->label = $menu_obj->title; // don't show "(pending)" in ajax-added items 1434 1435 $menu_items[] = $menu_obj;
Note: See TracChangeset
for help on using the changeset viewer.