Changeset 11501
- Timestamp:
- 06/01/2009 05:12:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r11464 r11501 1916 1916 } 1917 1917 1918 $taxonomy_field = $item == ('tag_slug__and' || 'tag_slug__in') ? 'slug' : 'term_id'; 1918 if ( in_array( $item, array('tag_slug__and', 'tag_slug__in' ) ) ) 1919 $taxonomy_field = 'slug'; 1920 else 1921 $taxonomy_field = 'term_id'; 1919 1922 1920 1923 $q[$item] = array_unique($q[$item]);
Note: See TracChangeset
for help on using the changeset viewer.