Don't add search wildcards to an empty string. fixes #17719
git-svn-id: https://develop.svn.wordpress.org/trunk@18179 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
efb682a641
commit
4efc4641ac
@ -52,7 +52,8 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||
'fields' => 'all_with_meta'
|
||||
);
|
||||
|
||||
$args['search'] = '*' . $args['search'] . '*';
|
||||
if ( '' !== $args['search'] )
|
||||
$args['search'] = '*' . $args['search'] . '*';
|
||||
|
||||
if ( $this->is_site_users )
|
||||
$args['blog_id'] = $this->site_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user