mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
237f810852
commit
76c03073d9
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user