Make WordPress Core


Ignore:
Timestamp:
01/28/2016 03:34:02 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-includes/ms-blogs.php

    r36413 r36416  
    1010
    1111/**
    12  * Update the last_updated field for the current blog.
     12 * Update the last_updated field for the current site.
    1313 *
    1414 * @since MU
     
    2525     * @since MU
    2626     *
    27      * @param int $blog_id Blog ID.
     27     * @param int $blog_id Site ID.
    2828     */
    2929    do_action( 'wpmu_blog_updated', $wpdb->blogid );
     
    992992    update_posts_count();
    993993}
    994 
Note: See TracChangeset for help on using the changeset viewer.