Do not double-stripslashes() on get_search_query(). fixes #11374

git-svn-id: http://svn.automattic.com/wordpress/trunk@12356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2009-12-10 08:07:19 +00:00
parent 805bdb9365
commit d58c6a5dda
1 changed files with 1 additions and 1 deletions

View File

@ -1705,7 +1705,7 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
* @return string
*/
function get_search_query() {
return apply_filters( 'get_search_query', stripslashes( get_query_var( 's' ) ) );
return apply_filters( 'get_search_query', get_query_var( 's' ) );
}
/**