Make WordPress Core


Ignore:
Timestamp:
01/28/2016 03:34:02 AM (8 years ago)
Author:
ericlewis
Message:

Networks and sites: Replace "blog" usage with "site" in docs.

Multisite functions use the term "blog" to refer to what we now call a "site," e.g. get_current_blog_id(). These functions are here to stay because of our commitment to backwards compatibility. What we can do is set the documentation straight.

See #35417.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-activate.php

    r34882 r36416  
    22/**
    33 * Confirms that the activation key that is sent in an email after a user signs
    4  * up for a new blog matches 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.
    55 *
    66 * @package WordPress
     
    118118
    119119            <?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();
    123123                ?>
    124124                <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.