Changeset 6121 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 09/16/2007 02:36:23 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r6118 r6121 869 869 else if ( 'ids' == $fields ) 870 870 $select_this = 't.term_id'; 871 else if ( 'names' == $fields ) 872 $select_this = 't.name'; 871 873 else if ( 'all_with_object_id' == $fields ) 872 874 $select_this = 't.*, tt.*, tr.object_id'; … … 877 879 $terms = $wpdb->get_results($query); 878 880 update_term_cache($terms); 879 } else if ( 'ids' == $fields ) {881 } else if ( 'ids' == $fields || 'names' == $fields ) { 880 882 $terms = $wpdb->get_col($query); 881 883 } else if ( 'tt_ids' == $fields ) {
Note: See TracChangeset
for help on using the changeset viewer.