Make WordPress Core

Opened 5 years ago

Closed 9 days ago

#51432 closed defect (bug) (invalid)

Custom Links in Menu do not get post_parent set

Reported by: ascottme's profile ascottme Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.1
Component: Menus Keywords:
Focuses: Cc:

Description

To recreate:

  1. Create a menu
  2. Add a "Custom Link" as a child of one of the menu items
  3. 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.

Change History (3)

#1 @justinahinon
5 years ago

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 the wp_posts table and refers to the site posts.

#2 @SergeyBiryukov
5 years ago

  • Keywords reporter-feedback added

#3 @mindctrl
9 days ago

  • Keywords reporter-feedback removed
  • Resolution set to invalid
  • Status changed from new to closed

Hi all,

It's been 5+ years since this was opened, and we have no additional reporter feedback or additional reports/requests for this.

I'm going to close this to help clean up Trac. Feel free to reopen if you think this is still an issue.

Note: See TracTickets for help on using tickets.