In WP_Query::parse_tax_query(), allow taxonomy querystring to be formatted as an array.

Props Veraxus.
Fixes #32454.
Built from https://develop.svn.wordpress.org/trunk@33095


git-svn-id: http://core.svn.wordpress.org/trunk@33066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2015-07-06 20:37:24 +00:00
parent a62cc940ea
commit 2096b451c7
2 changed files with 5 additions and 1 deletions

View File

@ -1867,6 +1867,10 @@ class WP_Query {
$term = $q[$t->query_var];
if ( is_array( $term ) ) {
$term = implode( ',', $term );
}
if ( strpos($term, '+') !== false ) {
$terms = preg_split( '/[+]+/', $term );
foreach ( $terms as $term ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta1-33094';
$wp_version = '4.3-beta1-33095';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.