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.


git-svn-id: https://develop.svn.wordpress.org/trunk@36416 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
ericlewis
2016-01-28 03:34:02 +00:00
parent 7c1854aeb0
commit 3fde994152
20 changed files with 65 additions and 66 deletions

View File

@@ -207,7 +207,7 @@ class WP_Customize_Setting {
}
/**
* The ID for the current blog when the preview() method was called.
* The ID for the current site when the preview() method was called.
*
* @since 4.2.0
* @access protected
@@ -216,7 +216,7 @@ class WP_Customize_Setting {
protected $_previewed_blog_id;
/**
* Return true if the current blog is not the same as the previewed blog.
* Return true if the current site is not the same as the previewed site.
*
* @since 4.2.0
* @access public
@@ -374,7 +374,7 @@ class WP_Customize_Setting {
* Callback function to filter non-multidimensional theme mods and options.
*
* If switch_to_blog() was called after the preview() method, and the current
* blog is now not the same blog, then this method does a no-op and returns
* site is now not the same site, then this method does a no-op and returns
* the original value.
*
* @since 3.4.0