Make WordPress Core


Ignore:
Timestamp:
01/28/2016 03:34:02 AM (11 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-customize-setting.php

    r35724 r36416  
    208208
    209209        /**
    210          * The ID for the current blog when the preview() method was called.
     210         * The ID for the current site when the preview() method was called.
    211211         *
    212212         * @since 4.2.0
    … …  
    217217
    218218        /**
    219          * Return true if the current blog is not the same as the previewed blog.
     219         * Return true if the current site is not the same as the previewed site.
    220220         *
    221221         * @since 4.2.0
    … …  
    375375         *
    376376         * If switch_to_blog() was called after the preview() method, and the current
    377          * blog is now not the same blog, then this method does a no-op and returns
     377         * site is now not the same site, then this method does a no-op and returns
    378378         * the original value.
    379379         *
Note: See TracChangeset for help on using the changeset viewer.