diff --git a/core/um-actions-register.php b/core/um-actions-register.php index fca76540..f5f0b2f7 100644 --- a/core/um-actions-register.php +++ b/core/um-actions-register.php @@ -84,7 +84,8 @@ if( ! isset( $user_email ) ) { - $user_email = 'nobody' . $unique_userID . '@' . get_bloginfo('name'); + $site_url = @$_SERVER['SERVER_NAME']; + $user_email = 'nobody' . $unique_userID . '@' . $site_url; }