Go to file
Boone Gorges e415270afb Tests: Correct 'meta_query' syntax in test related to `WP_User_Query` 'who' param.
The test, introduced in [32207], used the incorrect syntax for 'meta_query' -
one fewer level of array-nesting than what `WP_Meta_Query` requires. This
slip uncovered a bug introduced into `WP_User_Query` in [30094], whereby
an incorrectly formatted 'meta_query' parameter would be properly parsed by
`WP_User_Query` when passed alongside `who=authors`.

We need to fix the inconsistent syntax in order to resolve #36724.

See #36724, #32019, #23849, #27026.

git-svn-id: https://develop.svn.wordpress.org/trunk@37359 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-04 18:48:08 +00:00
src Rewrite Rules: Add self-describing variables to rewrite matcher. 2016-05-03 19:35:20 +00:00
tests Tests: Correct 'meta_query' syntax in test related to `WP_User_Query` 'who' param. 2016-05-04 18:48:08 +00:00
tools/i18n i18n tools: In `StringExtractor` don't strip slashes from URLs. 2016-02-29 20:44:31 +00:00
.editorconfig Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:28:58 +00:00
.gitignore Remove accidental .svn addition to .gitignore 2015-12-12 18:26:22 +00:00
.jshintrc Build: Prevent non-breaking spaces from accidentally being inserted into JavaScript files. 2015-11-12 12:04:55 +00:00
.travis.yml Travis CI: Include `npm prune` in the `before_script` command. 2016-05-01 20:03:59 +00:00
Gruntfile.js Build/Test Tools: Run image tasks only if there are changes 2016-04-15 10:18:03 +00:00
package.json Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:09:07 +00:00
phpunit.xml.dist Tests: Exclude `ms-files` test group from default PHPUnit config 2016-04-20 17:10:21 +00:00
wp-cli.yml Remove debug mode from WP-CLI by default, as it now outputs too much debugging information to be of use during normal development. 2015-11-28 18:36:06 +00:00
wp-config-sample.php Lightly clean up and improve inline documentation in wp-config-sample.php. 2015-05-10 00:05:30 +00:00
wp-tests-config-sample.php Unit Tests: Correct comment in `wp-tests-config-sample.php`. 2016-01-21 20:24:12 +00:00