Changeset 18603
- Timestamp:
- 08/25/2011 06:49:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r18591 r18603 1894 1894 else if ( 'names' == $fields ) 1895 1895 $select_this = 't.name'; 1896 else if ( 'slugs' == $fields ) 1897 $select_this = 't.slug'; 1896 1898 else if ( 'all_with_object_id' == $fields ) 1897 1899 $select_this = 't.*, tt.*, tr.object_id'; … … 1902 1904 $terms = array_merge($terms, $wpdb->get_results($query)); 1903 1905 update_term_cache($terms); 1904 } else if ( 'ids' == $fields || 'names' == $fields ) {1906 } else if ( 'ids' == $fields || 'names' == $fields || 'slugs' == $fields ) { 1905 1907 $terms = array_merge($terms, $wpdb->get_col($query)); 1906 1908 } else if ( 'tt_ids' == $fields ) {
Note: See TracChangeset
for help on using the changeset viewer.