mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
IN clauses that are connected by OR require only a single table join. To avoid extraneous joins, keep track of generated table aliases, and let sibling clauses piggy-back on those aliases when possible. Introduces WP_Tax_Query::sanitize_relation() to reduce some repeated code. Adds unit tests to verify the JOIN consolidation, and integration tests for cases where JOINS are being combined. Props boonebgorges, otto42, jakub.tyrcha. Fixes #18105. git-svn-id: https://develop.svn.wordpress.org/trunk@29902 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| src | ||
| tests | ||
| tools/i18n | ||
| .editorconfig | ||
| .gitignore | ||
| .jshintrc | ||
| .travis.yml | ||
| Gruntfile.js | ||
| package.json | ||
| phpunit.xml.dist | ||
| wp-cli.yml | ||
| wp-config-sample.php | ||
| wp-tests-config-sample.php | ||