Changeset 21552
- Timestamp:
- 08/20/2012 04:49:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r21501 r21552 791 791 " ); 792 792 break; 793 793 case 'term_taxonomy_id': 794 $terms = implode( ',', array_map( 'intval', $query['terms'] ) ); 795 $terms = $wpdb->get_col( " 796 SELECT $resulting_field 797 FROM $wpdb->term_taxonomy 798 WHERE term_taxonomy_id IN ($terms) 799 " ); 800 break; 794 801 default: 795 802 $terms = implode( ',', array_map( 'intval', $query['terms'] ) );
Note: See TracChangeset
for help on using the changeset viewer.