mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
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:
@@ -1130,7 +1130,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @param string $check Optional. Whether to check only the 'network'-wide settings, the 'site'
|
||||
* settings, or 'both'. Defaults to 'both'.
|
||||
* @param int $blog_id Optional. Ignored if only network-wide settings are checked. Defaults to current blog.
|
||||
* @param int $blog_id Optional. Ignored if only network-wide settings are checked. Defaults to current site.
|
||||
* @return bool Whether the theme is allowed for the network. Returns true in single-site.
|
||||
*/
|
||||
public function is_allowed( $check = 'both', $blog_id = null ) {
|
||||
|
||||
Reference in New Issue
Block a user