[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 10 02:16:19 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:  4.7
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------

Comment (by joehoyle):

 Updated patch with schema `type => string` fix, and also used the `$base`
 vars to account for `rest_base` not existing on the post type / taxonomy.

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


More information about the wp-trac mailing list