Ticket #26156: user-email.diff
File user-email.diff, 799 bytes (added by , 11 years ago) |
---|
-
wp-includes/user.php
1674 1697 $errors->add( 'username_exists', __( '<strong>ERROR</strong>: This username is already registered. Please choose another one.' ) ); 1675 1698 } 1676 1699 1677 // Check the e -mail address1700 // Check the email address 1678 1701 if ( $user_email == '' ) { 1679 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your e -mail address.' ) );1702 $errors->add( 'empty_email', __( '<strong>ERROR</strong>: Please type your email address.' ) ); 1680 1703 } elseif ( ! is_email( $user_email ) ) { 1681 1704 $errors->add( 'invalid_email', __( '<strong>ERROR</strong>: The email address isn’t correct.' ) ); 1682 1705 $user_email = '';