Opened 16 years ago
Closed 16 years ago
#12655 closed defect (bug) (fixed)
"Parent" dropdown missing when only 1 page present
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | 3.0 |
| Component: | Administration | Keywords: | has-patch |
| Focuses: | Cc: |
Description
At present, if you edit a hierarchical post type (Page, or custom type) and have only 1 page OR only have 1 top level page, The "Parent" dropdown list will be hidden.
The title and description remain, but there is no selection box.
This is due to wp_dropdown_pages() only displaying the <select> if pages are present.
One solution is to hide the entire parent functionality until pages are available
Another is to leave as-is
And another is to force the display of the <select> element even with no pages (Either all the time, or only when $show_option_none is set potentially..
While this would rarely be run into, It can cause some confusion for custom post_types which are more likely to have fewer entries.
Thoughts?
Attachments (1)
Change History (4)
#1
@
16 years ago
- Cc sorich87 added
- Keywords has-patch added
- Owner set to sorich87
- Status changed from new to accepted
I think it is better to hide the 'Parent' attribute to avoid confusion.