Changeset 15652
- Timestamp:
- 09/24/2010 12:09:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r15650 r15652 1922 1922 } 1923 1923 1924 $where .= " AND $wpdb->posts.ID IN( " . implode( ', ', wp_tax_query( $tax_query ) ) . ")"; 1924 $ids = wp_tax_query( $tax_query ); 1925 if ( !empty($ids) ) 1926 $where .= " AND $wpdb->posts.ID IN(" . implode( ', ', $ids ) . ")"; 1927 else 1928 $where .= ' AND 0 = 1'; 1925 1929 } 1926 1930
Note: See TracChangeset
for help on using the changeset viewer.