Opened 3 years ago
Last modified 3 years ago
#56089 new defect (bug)
Meta data of menu items not removed from wp_postmeta table after removing the menu item before being saved.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.0 |
Component: | Menus | Keywords: | needs-testing-info needs-testing |
Focuses: | Cc: |
Description
If we add a menu item, the menu item's metadata are added. Don't hit submit button yet.
Remove the menu item, the metadata still exist.
Add back the menu items, new metadata with a new post_id is added to wp_postmeta table. Hit the Save Menu button.
Now, remove the menu item and hit the Save Menu button, the metadata will be removed.
It doesn't remove the metadatas only when we add the menu item and remove the menu item without saving the menu.
_menu_item_type
_menu_item_menu_item_parent
_menu_item_object_id
_menu_item_object
_menu_item_target
Change History (2)
Note: See
TracTickets for help on using
tickets.