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

git-svn-id: https://develop.svn.wordpress.org/trunk@12356 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2009-12-10 08:07:19 +00:00
parent db7d45ebe2
commit 7caab9d8e3
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' ) );
}
/**