mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Trim incoming searches on the users list table. props tollmanz. fixes #21318.
git-svn-id: http://core.svn.wordpress.org/trunk@21864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8203ef4905
commit
e914a04335
@ -35,7 +35,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
function prepare_items() {
|
||||
global $role, $usersearch;
|
||||
|
||||
$usersearch = isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '';
|
||||
$usersearch = isset( $_REQUEST['s'] ) ? trim( $_REQUEST['s'] ) : '';
|
||||
|
||||
$role = isset( $_REQUEST['role'] ) ? $_REQUEST['role'] : '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user