[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 00:36:31 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 jason_the_adams):

 Replying to [comment:2 jnylen0]:
 Thanks for affirming the idea! I'll put together a patch with tests.

 > Also note that for the purposes of the schema/arguments, this would be
 `type => 'object'` rather than `type => 'array'`.
 Can you please clarify what you're referring to here? What specifically is
 an object instead of array?

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


More information about the wp-trac mailing list