should not be an array of arrays. Props nickmomrik
git-svn-id: https://develop.svn.wordpress.org/trunk@16497 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a7bcbc027f
commit
069c259dcf
@ -452,7 +452,7 @@ class WP_User_Query {
|
||||
$search = trim($search, '*');
|
||||
}
|
||||
if ( false !== strpos( $search, '@') )
|
||||
$search_columns[] = array('user_email');
|
||||
$search_columns = array('user_email');
|
||||
elseif ( is_numeric($search) )
|
||||
$search_columns = array('user_login', 'ID');
|
||||
elseif ( preg_match('|^https?://|', $search) )
|
||||
|
Loading…
Reference in New Issue
Block a user