Changeset 13492
- Timestamp:
- 02/28/2010 07:47:11 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r13486 r13492 1201 1201 , 'meta_value' 1202 1202 , 'preview' 1203 , 's' 1204 , 'sentence' 1203 1205 ); 1204 1206 … … 1776 1778 } 1777 1779 $term = esc_sql($q['s']); 1778 if ( empty($q['sentence']) && count($q['search_terms']) > 1 && $q['search_terms'][0] != $q['s'] )1780 if ( empty($q['sentence']) && count($q['search_terms']) > 1 && $q['search_terms'][0] != $q['s'] ) 1779 1781 $search .= " OR ($wpdb->posts.post_title LIKE '{$n}{$term}{$n}') OR ($wpdb->posts.post_content LIKE '{$n}{$term}{$n}')"; 1780 1782
Note: See TracChangeset
for help on using the changeset viewer.