Property changes on: wp-includes
___________________________________________________________________
Added: svn:ignore
+ .taxonomy.php.swp
|
|
|
784 | 784 | AND $wpdb->terms.{$query['field']} IN ($terms) |
785 | 785 | " ); |
786 | 786 | break; |
787 | | |
| 787 | case 'term_taxonomy_id': |
| 788 | $terms = implode( ',', array_map( 'intval', $query['terms'] ) ); |
| 789 | $terms = $wpdb->get_col( " |
| 790 | SELECT $resulting_field |
| 791 | FROM $wpdb->term_taxonomy |
| 792 | WHERE term_taxonomy_id IN ($terms) |
| 793 | " ); |
| 794 | break; |
788 | 795 | default: |
789 | 796 | $terms = implode( ',', array_map( 'intval', $query['terms'] ) ); |
790 | 797 | $terms = $wpdb->get_col( " |