Make WordPress Core

Opened 6 years ago

Closed 16 months ago

Last modified 15 months ago

#51432 closed defect (bug) (invalid)

Custom Links in Menu do not get post_parent set

Reported by: ascottme Owned by:
Priority: normal Milestone:
Component: Menus Version: 5.5.1
Severity: normal Keywords:
Cc: Focuses:

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 (4)

#1 @justinahinon
6 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
6 years ago

  • Keywords reporter-feedback added

#3 @mindctrl
16 months ago

  • Keywords reporter-feedback removed
  • Resolution → invalid
  • Status new → 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.

#4 @peterwilsoncc
15 months ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.