mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
There is not a NOT operator. Props scribu. fixes #17054 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ba0153096a
commit
f67a8e70ed
@ -1510,7 +1510,7 @@ class WP_Query {
|
|||||||
$this->parse_tax_query( $qv );
|
$this->parse_tax_query( $qv );
|
||||||
|
|
||||||
foreach ( $this->tax_query->queries as $tax_query ) {
|
foreach ( $this->tax_query->queries as $tax_query ) {
|
||||||
if ( ( 'NOT' != $tax_query['operator'] ) && ( 'NOT IN' != $tax_query['operator'] ) ) {
|
if ( 'NOT IN' != $tax_query['operator'] ) {
|
||||||
switch ( $tax_query['taxonomy'] ) {
|
switch ( $tax_query['taxonomy'] ) {
|
||||||
case 'category':
|
case 'category':
|
||||||
$this->is_category = true;
|
$this->is_category = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user