[wp-trac] [WordPress Trac] #40413: Handle `register_post_type` support's array
WordPress Trac
noreply at wordpress.org
Tue Sep 17 20:17:59 UTC 2019
#40413: Handle `register_post_type` support's array
-------------------------------------------------+-------------------------
Reporter: MaximeCulea | Owner: desrosj
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests needs-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Comment (by pbiron):
Replying to [comment:15 desrosj]:
> I think this would be a good call out in a miscellaneous changes dev
note. A short paragraph with a code example would be very useful for
reference.
This is a cool new feature! Thanx.
In addition to the dev note, shouldn't the `$supports` arg in the DocBlock
for `register_post_type()` be updated to describe the new structure?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40413#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list