[wp-trac] [WordPress Trac] #39033: WP REST API: Add `supports` object to `/types` response

WordPress Trac noreply at wordpress.org
Thu Dec 29 17:27:39 UTC 2016


#39033: WP REST API: Add `supports` object to `/types` response
---------------------------------------------+--------------------------
 Reporter:  timmydcrawford                   |       Owner:  rachelbaker
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.8
Component:  REST API                         |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------
Changes (by rachelbaker):

 * owner:   => rachelbaker
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39647"]:
 {{{
 #!CommitTicketReference repository="" revision="39647"
 REST API: Add the `supports` property to the Post Type response object.

 Includes a new `supports` property in the response object and schema for
 the `/types` endpoints for users with the `edit_posts` capability for the
 given post type. The `supports` property returns an object of the features
 the given post type *supports*.

 Props timmydcrawford, tyxla.
 Fixes #39033.
 }}}

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


More information about the wp-trac mailing list