Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#51867 new defect (bug)

Page Parent dropdown is a huge mess

Reported by: jamesdonegan's profile jamesdonegan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.0
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

I have seen a few posts (including in this forum) related to this topic, but none seems to exactly address what is going on. Even when I disable all plugins and change to a default theme, the Page Parent dropdown is a huge mess — this is true of two different websites I manage, each of which has hundreds of Pages (plus posts and other custom post types).

The problem is that (a) the Page Parent dropdown lists many pages multiple times (literally some pages will appear three or four times in the dropdown, and it seems to repeat a loop) and (b) not all pages are there. So even though it's showing a few multiple times, some don't appear even once.

The work-around seems to be to create a new page, then return to "All Pages" and make the parent relationship in Quick Edit. It works, but it is a tremendous inconvenience.

Change History (4)

This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.


4 years ago

#2 @hellofromTonya
4 years ago

  • Version changed from 5.6 to 5.0

Per Slack conversation:

Doesn't appear 5.6-specific, it's come up a few times since 5.0 changed how parent pages were handled, but nothing has been mentioned in any forums etc specific to 5.6

Possibly related to report upstream https://github.com/WordPress/gutenberg/issues/21563.

Related to #46294.

#3 @hellofromTonya
4 years ago

Hello @jamesdonegan,

Welcome to WordPress Trac! Thanks for the ticket.

I've adjusted the Version as this is not a 5.6 regression.

You noted in the description that this particular issue has related reports. For history, context, and tracking, we'll add related or adjacent ticket numbers or upstream issues here.

#4 @isabel_brison
4 years ago

This issue was fixed in
https://github.com/WordPress/gutenberg/pull/26397. @jamesdonegan could you test on 5.6 RC1 and confirm you can no longer reproduce it?

Note: See TracTickets for help on using tickets.