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:
parent
db7d45ebe2
commit
7caab9d8e3
@ -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' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user