Docs: Clarify that `is_network_admin()` does not check if the site is a Multisite network; `is_multisite()` should be used for that.
Props svovaf, dilipbheda, tazotodua. Fixes #47415. Built from https://develop.svn.wordpress.org/trunk@45672 git-svn-id: http://core.svn.wordpress.org/trunk@45483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8ab7bbe385
commit
1d283ef54f
|
@ -1031,6 +1031,9 @@ function is_blog_admin() {
|
|||
* Does not check if the user is an administrator; use current_user_can()
|
||||
* for checking roles and capabilities.
|
||||
*
|
||||
* Does not check if the site is a Multisite network; use is_multisite()
|
||||
* for checking if Multisite is enabled.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @global WP_Screen $current_screen
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45671';
|
||||
$wp_version = '5.3-alpha-45672';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue