[wp-trac] [WordPress Trac] #47072: Hierarchical post types missing attributes meta box if post type doesn't support 'page-attributes' or have templates
WordPress Trac
noreply at wordpress.org
Mon Apr 29 17:11:09 UTC 2019
#47072: Hierarchical post types missing attributes meta box if post type doesn't
support 'page-attributes' or have templates
-------------------------------+-----------------------------
Reporter: natereist | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 5.1.1
Severity: minor | Keywords: needs-patch
Focuses: |
-------------------------------+-----------------------------
Setting the hierarchical argument to true in the register post type
function doesn't enable the post parent automatically. In order for this
meta box to show up you must also enable post type support for page-
attributes or the post type must have templates. I would think the post
parent dropdown should be visible by default if the post type is
hierarchical. This applies to both the Classic and Gutenberg editor.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47072>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list