Ticket #16093: 16093.patch
File 16093.patch, 558 bytes (added by , 14 years ago) |
---|
-
wp-includes/query.php
2038 2038 // If a search pattern is specified, load the posts that match 2039 2039 if ( !empty($q['s']) ) { 2040 2040 // added slashes screw with quote grouping when done early, so done later 2041 $q['s'] = stripslashes($q['s']);2041 $q['s'] = urldecode( stripslashes($q['s']) ); 2042 2042 if ( !empty($q['sentence']) ) { 2043 2043 $q['search_terms'] = array($q['s']); 2044 2044 } else {