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:
ryan 2010-11-19 23:58:29 +00:00
parent d23cc6554f
commit 1310eaa966
1 changed files with 1 additions and 1 deletions

View File

@ -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) )