Changeset 15751 for trunk/wp-includes/query.php
- Timestamp:
- 10/07/2010 09:47:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r15733 r15751 1292 1292 $this->parse_tax_query( $qv ); 1293 1293 1294 debug($this->tax_query); 1295 1294 1296 $this->parse_meta_query( $qv ); 1295 1297 … … 1401 1403 1402 1404 function parse_tax_query( $q ) { 1403 $tax_query = array(); 1405 if ( ! empty( $q['tax_query'] ) && is_array( $q['tax_query'] ) ) { 1406 $tax_query = $q['tax_query']; 1407 } else { 1408 $tax_query = array(); 1409 } 1404 1410 1405 1411 foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t ) {
Note: See TracChangeset
for help on using the changeset viewer.