[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:48:00 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
-------------------------------------------+-----------------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39462"]:
 {{{
 #!CommitTicketReference repository="" revision="39462"
 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.

 Props ketuchetan, rahulsprajapati.
 Fixes #39023.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39023#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list