should not be an array of arrays. Props nickmomrik
git-svn-id: http://svn.automattic.com/wordpress/trunk@16497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d23cc6554f
commit
1310eaa966
|
@ -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