[wp-trac] [WordPress Trac] #38607: Add `rest_base` to response objects of `wp/v2/taxonomies` and `wp/v2/types` on the REST Api

WordPress Trac noreply at wordpress.org
Thu Nov 3 01:32:32 UTC 2016


#38607: Add `rest_base` to response objects of `wp/v2/taxonomies`  and
`wp/v2/types` on the REST Api
--------------------------------------+------------------------------
 Reporter:  youknowriad               |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+------------------------------

Comment (by rachelbaker):

 I am +1 for this.  We should return the WP_Post_Type and WP_Taxonomy
 objects in these responses, and the `rest_base` property is a part of
 those objects.

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


More information about the wp-trac mailing list