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

WordPress Trac noreply at wordpress.org
Thu Nov 30 21:21:21 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:  Future Release
Component:  REST API                        |     Version:  4.7
 Severity:  normal                          |  Resolution:
 Keywords:  needs-unit-tests needs-testing  |     Focuses:  rest-api
--------------------------------------------+-----------------------------

Comment (by jason_the_adams):

 I believe the filter you're pointing out is the way to go. You would need
 to stop using the built-in query parameter and then use your own.
 WordPress doesn't overwrite the `'tax_query'` if you don't use it.

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


More information about the wp-trac mailing list