From 924e52e18a7dcfe3cd3932f559c875fe88008090 Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Mon, 11 Jul 2016 23:12:03 +0800 Subject: [PATCH] Fix registration form process --- core/um-actions-register.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/um-actions-register.php b/core/um-actions-register.php index cb950515..cbc579cc 100644 --- a/core/um-actions-register.php +++ b/core/um-actions-register.php @@ -33,6 +33,9 @@ add_action('um_add_user_frontend', 'um_add_user_frontend', 10); function um_add_user_frontend($args){ global $ultimatemember; + + unset( $args['user_id'] ); + extract($args);