Changeset 5613 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 05/31/2007 03:51:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r5612 r5613 392 392 $terms = "'" . implode("', '", $terms) . "'"; 393 393 394 $object_ids = $wpdb->get_col("SELECT tr.object_id FROM $wpdb->term_relationships AS tr INNER JOIN $wpdb->term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ($taxonomies) AND tt.term_id IN ($ in_terms) ORDER BY tr.object_id $order");394 $object_ids = $wpdb->get_col("SELECT tr.object_id FROM $wpdb->term_relationships AS tr INNER JOIN $wpdb->term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ($taxonomies) AND tt.term_id IN ($terms) ORDER BY tr.object_id $order"); 395 395 396 396 if ( ! $object_ids )
Note: See TracChangeset
for help on using the changeset viewer.