Make WordPress Core


Ignore:
Timestamp:
01/28/2016 03:50:26 AM (9 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-signup.php

    r35451 r36417  
    259259 *
    260260 * @param string $blogname The new site name
    261  * @param string $blog_title The new blog title
     261 * @param string $blog_title The new site title.
    262262 * @param array $errors
    263263 */
     
    336336
    337337/**
    338  * Validate a new blog signup
    339  *
    340  * @since MU
    341  *
    342  * @return null|bool True if blog signup was validated, false if error.
     338 * Validate a new site signup.
     339 *
     340 * @since MU
     341 *
     342 * @return null|bool True if site signup was validated, false if error.
    343343 *                   The function halts all execution if the user is not logged in.
    344344 */
     
    421421
    422422/**
    423  * Confirm a new site signup
     423 * Confirm a new site signup.
    424424 *
    425425 * @since MU
    426426 * @since 4.4.0 Added the `$blog_id` parameter.
    427427 *
    428  * @param string $domain The domain URL
    429  * @param string $path The site root path
    430  * @param string $blog_title The blog title
    431  * @param string $user_name The username
    432  * @param string $user_email The user's email address
    433  * @param array  $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup()
    434  * @param int    $blog_id The blog ID
     428 * @param string $domain     The domain URL.
     429 * @param string $path       The site root path.
     430 * @param string $blog_title The site title.
     431 * @param string $user_name  The username.
     432 * @param string $user_email The user's email address.
     433 * @param array  $meta       Any additional meta from the 'add_signup_meta' filter in validate_blog_signup().
     434 * @param int    $blog_id    The site ID.
    435435 */
    436436function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = array(), $blog_id = 0 ) {
Note: See TracChangeset for help on using the changeset viewer.