wordpress-develop/tests/phpunit/tests/query
Boone Gorges 6eabc83b81 Query: Expand the list of operators available to compare_key in WP_Meta_Query.
`compare_key`, introduced in #42409, previously supported only `=` and `LIKE`
operators. This changeset introduces a number of other operators: `!=`, `IN`,
`NOT IN`, `NOT LIKE`, `RLIKE`, `REGEXP`, `NOT REGEXP`, `EXISTS`, and `NOT EXISTS`
(the latter two aliased to `=` and `!=`, respectively). To support case-sensitive
regular expression key comparisons, the new `type_key` parameter will force
a MySQL `CAST` when 'BINARY' is passed.

Props soulseekah.
Fixes #43346.

git-svn-id: https://develop.svn.wordpress.org/trunk@46188 602fd350-edb4-49c9-b593-d223f7449a82
2019-09-19 15:02:20 +00:00
..
commentCount.php Code is Poetry. 2017-11-30 23:09:33 +00:00
conditionals.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests. 2019-07-02 04:43:01 +00:00
date.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
dateQuery.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
generatePostdata.php Code Modernisation: Fix known instances of array access on data types that can't be accessed as arrays. 2019-07-15 06:24:08 +00:00
isTerm.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
metaQuery.php Query: Expand the list of operators available to compare_key in WP_Meta_Query. 2019-09-19 15:02:20 +00:00
noFoundRows.php Code is Poetry. 2017-11-30 23:09:33 +00:00
parseQuery.php Code is Poetry. 2017-11-30 23:09:33 +00:00
postStatus.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
results.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests. 2019-07-02 04:43:01 +00:00
search.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
setupPostdata.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests. 2019-07-02 04:43:01 +00:00
stickies.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:11:37 +00:00
taxQuery.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests. 2019-07-02 04:43:01 +00:00
vars.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
verboseRewriteRules.php Built/Test Tools: Unify the way the permastructure is set when used in conjunction with re-registering the initial taxonomies. This ensure that rewrite rules for taxonomies are consistently available. 2016-09-26 17:01:48 +00:00