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-includes/class-wp-user.php

    r35954 r36416  
    158158     * Sets up object properties, including capabilities.
    159159     *
    160      * @param object $data User DB row object
    161      * @param int $blog_id Optional. The blog id to initialize for
     160     * @param object $data    User DB row object.
     161     * @param int    $blog_id Optional. The site ID to initialize for.
    162162     */
    163163    public function init( $data, $blog_id = '' ) {
Note: See TracChangeset for help on using the changeset viewer.