[wp-trac] [WordPress Trac] #40413: Handle `register_post_type` support's array
WordPress Trac
noreply at wordpress.org
Tue Sep 17 20:28:43 UTC 2019
#40413: Handle `register_post_type` support's array
-------------------------------------------------+-------------------------
Reporter: MaximeCulea | Owner: desrosj
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.3
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Changes (by desrosj):
* status: closed => reopened
* resolution: fixed =>
Comment:
> shouldn't the $supports arg in the DocBlock for register_post_type() be
updated to describe the new structure?
@pbiron I did think about that. I didn't only because the docs explicitly
mention `Serves as an alias for calling add_post_type_support() directly.`
But more docs wouldn't hurt.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40413#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list