Changeset 19444 for trunk/wp-includes/query.php
- Timestamp:
- 11/24/2011 12:20:21 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r19216 r19444 1839 1839 1840 1840 if ( !empty($q['tag_slug__in']) ) { 1841 $q['tag_slug__in'] = array_map('sanitize_title ', array_unique( (array) $q['tag_slug__in'] ) );1841 $q['tag_slug__in'] = array_map('sanitize_title_for_query', array_unique( (array) $q['tag_slug__in'] ) ); 1842 1842 $tax_query[] = array( 1843 1843 'taxonomy' => 'post_tag', … … 1848 1848 1849 1849 if ( !empty($q['tag_slug__and']) ) { 1850 $q['tag_slug__and'] = array_map('sanitize_title ', array_unique( (array) $q['tag_slug__and'] ) );1850 $q['tag_slug__and'] = array_map('sanitize_title_for_query', array_unique( (array) $q['tag_slug__and'] ) ); 1851 1851 $tax_query[] = array( 1852 1852 'taxonomy' => 'post_tag',
Note: See TracChangeset
for help on using the changeset viewer.