Opened 4 years ago
Last modified 4 years ago
#51432 new defect (bug)
Custom Links in Menu do not get post_parent set
Reported by: | ascottme | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.5.1 |
Component: | Menus | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
To recreate:
- Create a menu
- Add a "Custom Link" as a child of one of the menu items
- In the database, the post_parent for that menu item is set to 0
Expected outcome:
The Custom Link should operate like other menu items, where the post_parent is set to the ID of the item it is nested under.
Note: See
TracTickets for help on using
tickets.
Welcome to Trac, and thanks for opening this @ascottme.
Could you clarify please, what you mean by "the post_parent for that menu"?
From what I'm aware of,
post_parent
in in thewp_posts
table and refers to the site posts.