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

WordPress Trac noreply at wordpress.org
Thu Dec 8 09:33:22 UTC 2016


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

 * keywords:  needs-patch needs-unit-tests => has-patch has-unit-tests


Comment:

 [https://core.trac.wordpress.org/attachment/ticket/39033/39033.diff
 39033.diff] adds `supports` with all of the supported features to each of
 the post types, only for `edit` context. The patch also includes tests.

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


More information about the wp-trac mailing list