Remove an unslash in the deprecated WP_User_Search, as search_term is already unslashed in the constructor. see #21767.

git-svn-id: http://core.svn.wordpress.org/trunk@23577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-03-01 17:57:49 +00:00
parent 237f810852
commit 76c03073d9

View File

@ -479,7 +479,6 @@ class WP_User_Search {
$this->prepare_query();
$this->query();
$this->prepare_vars_for_template_usage();
$this->do_paging();
}
@ -550,9 +549,7 @@ class WP_User_Search {
* @since 2.1.0
* @access public
*/
function prepare_vars_for_template_usage() {
$this->search_term = wp_unslash($this->search_term); // done with DB, from now on we want slashes gone
}
function prepare_vars_for_template_usage() {}
/**
* {@internal Missing Short Description}}