-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pages are missing from Parent Page dropdown #21563
Comments
Any updates on this? |
Hi @Razorrank, it's a little hard to reproduce this. For testing purposes, can you try installing the Classic Editor plugin and seeing whether you're also seeing 447 pages there, or seeing indeed 526 pages? |
@jasmussen , I installed the Classic editor and edited the page. It shows 486 items in the parent dropdown list. When I use "Quick Edit" feature it shows 487 items in the parent dropdown. |
Alright so it seems like the problem is not block editor specific. Which leaves two options, it's either intended, or it's an issue with the API. It's very probably the latter — but I wonder if there might be a reason for there being a reduced amount of parent page options. For example maybe you can't make a en existing parent page a child of another parent page? Not sure, but I'll flag this for some more feedback. |
Do I need to provide more technical feedback or someone from your team will provide feedback? Thank you |
It looks as if you've been exceptionally thorough with feedback here, thank you! Hopefully someone with more in-depth knowledge of the API will be able to look based on the "needs technical feedback" tag I added soon! |
Closing as this was fixed in #26397. |
Describe the bug
This website has 527 published pages. Only 447 pages are being listed in "Parent Page" dropdown.
Following return 100 pages:
wp-json/wp/v2/pages?per_page=100&exclude%5B0%5D=111&parent_exclude%5B0%5D=111&orderby=menu_order&order=asc&context=edit&_locale=user
Following return 100 pages:
wp-json/wp/v2/pages?per_page=100&exclude%5B0%5D=111&parent_exclude%5B0%5D=111&orderby=menu_order&order=asc&context=edit&_locale=user&page=2
Following return 100 pages:
wp-json/wp/v2/pages?per_page=100&exclude%5B0%5D=111&parent_exclude%5B0%5D=111&orderby=menu_order&order=asc&context=edit&_locale=user&page=3
Following return 100 pages:
wp-json/wp/v2/pages?per_page=100&exclude%5B0%5D=111&parent_exclude%5B0%5D=111&orderby=menu_order&order=asc&context=edit&_locale=user&page=4
Following return 100 pages:
wp-json/wp/v2/pages?per_page=100&exclude%5B0%5D=111&parent_exclude%5B0%5D=111&orderby=menu_order&order=asc&context=edit&_locale=user&page=5
Following return 26 pages:
wp-json/wp/v2/pages?per_page=100&exclude%5B0%5D=111&parent_exclude%5B0%5D=111&orderby=menu_order&order=asc&context=edit&_locale=user&page=6
100+100+100+100+100 + 26 = 526 pages are being returned using JSON API. But only 447 pages are being listed in parent page dropdown.
Currently running WordPress 5.3.2.
The text was updated successfully, but these errors were encountered: