From f01a2ac03ebb05fa9d9d9bef16c260324b8b1724 Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Thu, 9 Feb 2017 15:58:55 +0800 Subject: [PATCH] Fix email address whitespace issue --- core/um-actions-register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/um-actions-register.php b/core/um-actions-register.php index db032200..46bb9118 100644 --- a/core/um-actions-register.php +++ b/core/um-actions-register.php @@ -102,7 +102,7 @@ $creds['user_login'] = $user_login; $creds['user_password'] = $user_password; - $creds['user_email'] = $user_email; + $creds['user_email'] = trim( $user_email ); $args['submitted'] = array_merge( $args['submitted'], $creds); $args = array_merge($args, $creds);