[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:20:11 UTC 2016


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

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


Comment:

 In [changeset:"39191"]:
 {{{
 #!CommitTicketReference repository="" revision="39191"
 REST API: Add `rest_base` to response objects of `wp/v2/taxonomies` and
 `wp/v2/types`

 Though we have the `_links.collection` available, having this value can be
 useful to know post type / taxonomy urls if you need to build them another
 way.

 Props youknowriad, jnylen0.
 Fixes #38607.
 }}}

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


More information about the wp-trac mailing list