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

@@ -435,11 +435,11 @@ function current_user_can( $capability ) {
}
/**
* Whether current user has a capability or role for a given blog.
* Whether current user has a capability or role for a given site.
*
* @since 3.0.0
*
* @param int $blog_id Blog ID
* @param int $blog_id Site ID.
* @param string $capability Capability or role name.
* @return bool
*/