Changeset 52074
- Timestamp:
- 11/09/2021 03:27:58 PM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r51500 r52074 539 539 // Check if the email address has been used already. 540 540 if ( email_exists( $user_email ) ) { 541 $errors->add( 'user_email', __( 'Sorry, that email address is already used!' ) ); 541 $errors->add( 542 'user_email', 543 sprintf( 544 /* translators: %s: Link to the login page. */ 545 __( '<strong>Error:</strong> This email address is already registered. <a href="%s">Log in</a> with this address or choose another one.' ), 546 wp_login_url() 547 ) 548 ); 542 549 } 543 550 -
trunk/src/wp-includes/user.php
r52064 r52074 3111 3111 $user_email = ''; 3112 3112 } elseif ( email_exists( $user_email ) ) { 3113 $errors->add( 'email_exists', __( '<strong>Error</strong>: This email is already registered. Please choose another one.' ) ); 3113 $errors->add( 3114 'email_exists', 3115 sprintf( 3116 /* translators: %s: Link to the login page. */ 3117 __( '<strong>Error:</strong> This email address is already registered. <a href="%s">Log in</a> with this address or choose another one.' ), 3118 wp_login_url() 3119 ) 3120 ); 3114 3121 } 3115 3122
Note: See TracChangeset
for help on using the changeset viewer.