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:
parent
805bdb9365
commit
d58c6a5dda
|
@ -1705,7 +1705,7 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function get_search_query() {
|
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…
Reference in New Issue