#45987 closed defect (bug) (worksforme)
Hierarchical Custom Post Types Missing Parent Drop Down
Reported by: | sparkjoystudios | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.0.3 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
After updating to 5.0 (currently running 5.0.3) all hierarchical custom post types are missing the Parent Drop Down in the Page Attributes meta box.
All post types are registered with 'hierarchical' => true, and 'show_in_rest' => true
Pages still has the drop down in the new editor. Changing 'show_in_rest' to false and using the old editor still allows the user to assign parent/child relationships.
Change History (3)
#2
@
6 years ago
- Keywords close added; reporter-feedback removed
- Resolution set to worksforme
- Status changed from new to closed
Hi @pento
I was registering an empty string on that label to avoid unnecessary text, but after testing just now with "Parent:", the dropdown has appeared! So not a bug, but a change in requirements for custom post type registration 5.0 and above. I'll mark this as resolved, thank you for your time!
Note: See
TracTickets for help on using
tickets.
Thank you for the bug report, @sparkjoystudios!
In your custom post types, are you registering them with a
parent_item_colon
label?