[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 06:28:23 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 jnylen0):

 The links patch is in response to
 https://core.trac.wordpress.org/ticket/38607#comment:3:

 > We want to avoid exposing the raw value of `rest_base` in favour of
 exposing links that use them

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


More information about the wp-trac mailing list