Changeset 36416 for trunk/src/wp-activate.php
- Timestamp:
- 01/28/2016 03:34:02 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-activate.php
r34882 r36416 2 2 /** 3 3 * Confirms that the activation key that is sent in an email after a user signs 4 * up for a new blogmatches the key for that user and then displays confirmation.4 * up for a new site matches the key for that user and then displays confirmation. 5 5 * 6 6 * @package WordPress … … 118 118 119 119 <?php if ( $url && $url != network_home_url( '', 'http' ) ) : 120 switch_to_blog( (int) $result['blog_id'] ); 121 $login_url = wp_login_url(); 122 restore_current_blog(); 120 switch_to_blog( (int) $result['blog_id'] ); 121 $login_url = wp_login_url(); 122 restore_current_blog(); 123 123 ?> 124 124 <p class="view"><?php printf( __( 'Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Log in</a>' ), $url, esc_url( $login_url ) ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.