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

    r36366 r36416  
    11311131     * @param string $check Optional. Whether to check only the 'network'-wide settings, the 'site'
    11321132     *  settings, or 'both'. Defaults to 'both'.
    1133      * @param int $blog_id Optional. Ignored if only network-wide settings are checked. Defaults to current blog.
     1133     * @param int $blog_id Optional. Ignored if only network-wide settings are checked. Defaults to current site.
    11341134     * @return bool Whether the theme is allowed for the network. Returns true in single-site.
    11351135     */
Note: See TracChangeset for help on using the changeset viewer.