[wp-trac] [WordPress Trac] #41908: REST API gives wrong output when filtering posts with multiple category IDs - issue with AND operator

WordPress Trac noreply at wordpress.org
Wed Sep 27 02:27:00 UTC 2017


#41908: REST API gives wrong output when filtering posts with multiple category IDs
- issue with AND operator
------------------------------+------------------------
 Reporter:  subrataemfluence  |       Owner:
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  REST API          |     Version:  4.8.1
 Severity:  normal            |  Resolution:  duplicate
 Keywords:                    |     Focuses:  rest-api
------------------------------+------------------------
Changes (by dd32):

 * status:  new => closed
 * type:  defect (bug) => enhancement
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Hi @subrataemfluence and welcome to Trac.

 The WordPress REST API only currently supports OR taxonomy queries, there
 doesn't exist any AND queries.

 There's an existing ticket tracking adding AND queries: #41287

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


More information about the wp-trac mailing list