mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 13:13:33 +09:00
- fixed using "'" symbols in emails. There is possible to register with it and login after that. Closed #1059;
This commit is contained in:
@@ -806,7 +806,7 @@ function um_submit_form_errors_hook_( $args ) {
|
||||
$args['user_id'] = um_get_requested_user();
|
||||
}
|
||||
|
||||
$email_exists = email_exists( $args[ $key ] );
|
||||
$email_exists = email_exists( $args[ $key ] );
|
||||
|
||||
if ( $args[ $key ] == '' && in_array( $key, array( 'user_email' ) ) ) {
|
||||
UM()->form()->add_error( $key, __( 'You must provide your email', 'ultimate-member' ) );
|
||||
|
||||
Reference in New Issue
Block a user