wordpress-develop/tests/qunit
Timothy Jacobs 852a2c216c REST API: Add support for modifying the term relation when querying posts.
By default, a post most contain any of the requested terms to be included in the response. This commit adds a new `operator` property that can be set to `AND` to require a post to contain all of the requested terms.

For example, `/wp/v2/posts?tags[terms]=1,2,3&tags[operator]=AND` will return posts that have tags with the ids of 1, 2, and 3.

Props dlh, earnjam, Clorith, jnylen0, sebbb.
Fixes #41287.


git-svn-id: https://develop.svn.wordpress.org/trunk@51026 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-26 02:15:51 +00:00
..
fixtures REST API: Add support for modifying the term relation when querying posts. 2021-05-26 02:15:51 +00:00
wp-admin/js Build/Test & External Libraries : Fix jQuery deprecation. 2021-03-31 20:27:06 +00:00
wp-includes/js Build/Test Tools: Switch back to running the PHPUnit test suite against the src directory instead of build. 2021-02-26 14:07:53 +00:00
.jshintrc Build/Test Tools: Restore the QUnit global in JSHint config for QUnit. 2020-09-15 10:07:29 +00:00
index.html Build/Test Tools: Switch back to running the PHPUnit test suite against the src directory instead of build. 2021-02-26 14:07:53 +00:00