Changeset 15481 for trunk/wp-includes/load.php
- Timestamp:
- 07/30/2010 08:34:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/load.php
r15240 r15481 570 570 571 571 /** 572 * Whether the current request is in WordPress network admin Panel 573 * 574 * Does not inform on whether the user is a network admin! Use capability checks to 575 * tell if the user should be accessing a section or not. 576 * 577 * @since 3.1.0 578 * 579 * @return bool True if inside WordPress network administration pages. 580 */ 581 function is_network_admin() { 582 if ( defined( 'WP_NETWORK_ADMIN' ) ) 583 return WP_NETWORK_ADMIN; 584 return false; 585 } 586 587 /** 572 588 * Whether Multisite support is enabled 573 589 *
Note: See TracChangeset
for help on using the changeset viewer.