Make WordPress Core

Changeset 45672


Ignore:
Timestamp:
07/25/2019 03:18:05 PM (5 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r45611 r45672  
    10321032 * for checking roles and capabilities.
    10331033 *
     1034 * Does not check if the site is a Multisite network; use is_multisite()
     1035 * for checking if Multisite is enabled.
     1036 *
    10341037 * @since 3.1.0
    10351038 *
Note: See TracChangeset for help on using the changeset viewer.