Changeset 12052 for trunk/wp-includes/query.php
- Timestamp:
- 10/18/2009 11:50:59 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r11998 r12052 1748 1748 } else { 1749 1749 preg_match_all('/".*?("|$)|((?<=[\\s",+])|^)[^\\s",+]+/', $q['s'], $matches); 1750 $q['search_terms'] = array_map( create_function('$a', 'return trim($a, "\\"\'\\n\\r ");'), $matches[0]);1750 $q['search_terms'] = array_map('_search_terms_tidy', $matches[0]); 1751 1751 } 1752 1752 $n = !empty($q['exact']) ? '' : '%';
Note: See TracChangeset
for help on using the changeset viewer.