diff --git src/wp-activate.php src/wp-activate.php
index 5150c299f4..9d62c58b70 100644
|
|
get_header( 'wp-activate' ); |
99 | 99 | <h2><?php _e( 'Your account is now active!' ); ?></h2> |
100 | 100 | <?php |
101 | 101 | echo '<p class="lead-in">'; |
102 | | if ( $signup->domain . $signup->path == '' ) { |
| 102 | if ( '' === $signup->domain . $signup->path ) { |
103 | 103 | printf( |
104 | 104 | /* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */ |
105 | 105 | __( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ), |
… |
… |
get_header( 'wp-activate' ); |
137 | 137 | </div> |
138 | 138 | |
139 | 139 | <?php |
140 | | if ( $url && $url != network_home_url( '', 'http' ) ) : |
| 140 | if ( $url && network_home_url( '', 'http' ) !== $url ) : |
141 | 141 | switch_to_blog( (int) $result['blog_id'] ); |
142 | 142 | $login_url = wp_login_url(); |
143 | 143 | restore_current_blog(); |