[wp-trac] [WordPress Trac] #39494: Make it possible for taxonomy query to include children in REST API

WordPress Trac noreply at wordpress.org
Fri Jan 6 01:42:11 UTC 2017


#39494: Make it possible for taxonomy query to include children in REST API
------------------------------------------+-----------------------
 Reporter:  jason_the_adams               |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  4.8
Component:  REST API                      |     Version:  4.7
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  rest-api
------------------------------------------+-----------------------

Comment (by jnylen0):

 In JSON Schema, keyed arrays are `object`s, unlike in PHP.  [http://json-
 schema.org/latest/json-schema-core.html#rfc.section.4.2 Docs];
 [https://core.trac.wordpress.org/browser/tags/4.7/src/wp-includes/rest-
 api/endpoints/class-wp-rest-posts-controller.php?marks=1824#L1822
 example].  Just mentioning because this has bitten a couple of people in
 the past.

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


More information about the wp-trac mailing list