diff --git a/wp-includes/user.php b/wp-includes/user.php index aa70320fc5..aa3265d0ab 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -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) )