scripts.mit.edu
/
autoinstalls
/
wordpress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WordPress 4.5
[autoinstalls/wordpress.git]
/
wp-activate.php
diff --git
a/wp-activate.php
b/wp-activate.php
index ea6a1ad8ae3ba9c087b8919f3b2da5f94826cb2b..bfd562076cfd987884cf79f3fd68d349c589fe59 100644
(file)
--- a/
wp-activate.php
+++ b/
wp-activate.php
@@
-1,7
+1,7
@@
<?php
/**
* Confirms that the activation key that is sent in an email after a user signs
<?php
/**
* Confirms that the activation key that is sent in an email after a user signs
- * up for a new
blog
matches the key for that user and then displays confirmation.
+ * up for a new
site
matches the key for that user and then displays confirmation.
*
* @package WordPress
*/
*
* @package WordPress
*/
@@
-117,9
+117,9
@@
get_header( 'wp-activate' );
</div>
<?php if ( $url && $url != network_home_url( '', 'http' ) ) :
</div>
<?php if ( $url && $url != network_home_url( '', 'http' ) ) :
- switch_to_blog( (int) $result['blog_id'] );
- $login_url = wp_login_url();
- restore_current_blog();
+ switch_to_blog( (int) $result['blog_id'] );
+ $login_url = wp_login_url();
+ restore_current_blog();
?>
<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>
<?php else: ?>
?>
<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>
<?php else: ?>