[wp-trac] [WordPress Trac] #38507: Quick Edit: Parent label without input when editing page
WordPress Trac
noreply at wordpress.org
Wed Oct 26 07:53:43 UTC 2016
#38507: Quick Edit: Parent label without input when editing page
-------------------------------+-----------------------------------------
Reporter: swissspidy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Keywords: needs-patch has-screenshots
Focuses: |
-------------------------------+-----------------------------------------
Noticed while working on #18375.
To reproduce:
1. Delete all pages
2. Create a new page, save as Draft
3. Click Quick Edit or Bulk Edit
4. Notice a 'Parent' label without any dropdown
It might make sense to always use 'show_option_none' in
`wp_dropdown_pages()`, even when there are no pages. However, that might
lead to data loss when a parent ID is set but the page does not exist
anymore. Instead, the 'Parent' label could be hidden.
Screenshot:
[[Image(https://cldup.com/tUquX3xYvS.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38507>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list