Changeset 16886
- Timestamp:
- 12/12/2010 04:38:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r16880 r16886 1356 1356 } 1357 1357 1358 $tax_query_obj = $this->parse_tax_query( $qv ); 1359 1360 foreach ( $tax_query_obj->queries as $tax_query ) { 1358 $this->parse_tax_query( $qv ); 1359 foreach ( $this->tax_query->queries as $tax_query ) { 1361 1360 if ( 'IN' == $tax_query['operator'] ) { 1362 1361 switch ( $tax_query['taxonomy'] ) { … … 1372 1371 } 1373 1372 } 1374 1375 unset( $tax_query_obj, $tax_query ); 1373 unset( $tax_query ); 1376 1374 1377 1375 _parse_meta_query( $qv ); … … 1495 1493 * 1496 1494 * @param array &$q The query variables 1497 * @return WP_Tax_Query1498 1495 */ 1499 1496 function parse_tax_query( &$q ) { … … 1602 1599 } 1603 1600 1604 returnnew WP_Tax_Query( $tax_query );1601 $this->tax_query = new WP_Tax_Query( $tax_query ); 1605 1602 } 1606 1603 … … 1937 1934 1938 1935 // Taxonomies 1939 $this-> tax_query = $this->parse_tax_query( $q );1936 $this->parse_tax_query( $q ); 1940 1937 1941 1938 if ( $this->is_category || $this->is_tag || $this->is_tax ) {
Note: See TracChangeset
for help on using the changeset viewer.