[wp-trac] [WordPress Trac] #39023: REST API: show_in_rest property missing from the register_post_type() and register_taxonomy() args docblocks
WordPress Trac
noreply at wordpress.org
Sat Dec 3 04:49:39 UTC 2016
#39023: REST API: show_in_rest property missing from the register_post_type() and
register_taxonomy() args docblocks
-------------------------------------------+-----------------------------
Reporter: johnbillion | Owner: pento
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit dev-reviewed | Focuses: docs, rest-api
-------------------------------------------+-----------------------------
Comment (by pento):
In [changeset:"39463"]:
{{{
#!CommitTicketReference repository="" revision="39463"
Docs: Add missing REST API-related args to `register_post_type()` and
`register_taxonomy()`.
These functions now accept the `show_in_rest`, `rest_base`, and
`rest_controller_class` args.
Merges [39462] to the 4.7 branch.
Props ketuchetan, rahulsprajapati.
Fixes #39023.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39023#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list