Don't add search wildcards to an empty string. fixes #17719
git-svn-id: http://svn.automattic.com/wordpress/trunk@18179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b8b61d1ae
commit
6c6db6a54e
|
@ -52,6 +52,7 @@ class WP_Users_List_Table extends WP_List_Table {
|
||||||
'fields' => 'all_with_meta'
|
'fields' => 'all_with_meta'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ( '' !== $args['search'] )
|
||||||
$args['search'] = '*' . $args['search'] . '*';
|
$args['search'] = '*' . $args['search'] . '*';
|
||||||
|
|
||||||
if ( $this->is_site_users )
|
if ( $this->is_site_users )
|
||||||
|
|
Loading…
Reference in New Issue