Changeset 48303
- Timestamp:
- 07/04/2020 09:13:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r48126 r48303 1331 1331 } elseif ( isset( $_GET['checkemail'] ) && 'confirm' === $_GET['checkemail'] ) { 1332 1332 $errors->add( 'confirm', __( 'Check your email for the confirmation link.' ), 'message' ); 1333 } elseif ( isset( $_GET['checkemail'] ) && 'newpass' === $_GET['checkemail'] ) {1334 $errors->add( 'newpass', __( 'Check your email for your new password.' ), 'message' );1335 1333 } elseif ( isset( $_GET['checkemail'] ) && 'registered' === $_GET['checkemail'] ) { 1336 1334 $errors->add( 'registered', __( 'Registration complete. Please check your email.' ), 'message' ); … … 1432 1430 <?php 1433 1431 1434 if ( ! isset( $_GET['checkemail'] ) || ! in_array( $_GET['checkemail'], array( 'confirm', 'newpass' ), true )) {1432 if ( ! isset( $_GET['checkemail'] ) || 'confirm' !== $_GET['checkemail'] ) { 1435 1433 if ( get_option( 'users_can_register' ) ) { 1436 1434 $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
Note: See TracChangeset
for help on using the changeset viewer.