Remove an unslash in the deprecated WP_User_Search, as search_term is already unslashed in the constructor. see #21767.
git-svn-id: https://develop.svn.wordpress.org/trunk@23577 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e8e569ccd2
commit
1b8afaa995
|
@ -479,7 +479,6 @@ class WP_User_Search {
|
||||||
|
|
||||||
$this->prepare_query();
|
$this->prepare_query();
|
||||||
$this->query();
|
$this->query();
|
||||||
$this->prepare_vars_for_template_usage();
|
|
||||||
$this->do_paging();
|
$this->do_paging();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -550,9 +549,7 @@ class WP_User_Search {
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function prepare_vars_for_template_usage() {
|
function prepare_vars_for_template_usage() {}
|
||||||
$this->search_term = wp_unslash($this->search_term); // done with DB, from now on we want slashes gone
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@internal Missing Short Description}}
|
* {@internal Missing Short Description}}
|
||||||
|
|
Loading…
Reference in New Issue