Changeset 15746 for trunk/wp-includes/load.php
- Timestamp:
- 10/07/2010 07:34:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/load.php
r15680 r15746 622 622 623 623 /** 624 * Whether the current request is for a user admin screen /wp-admin/user/ 625 * 626 * Does not inform on whether the user is an admin! Use capability checks to 627 * tell if the user should be accessing a section or not. 628 * 629 * @since 3.1.0 630 * 631 * @return bool True if inside WordPress user administration pages. 632 */ 633 function is_user_admin() { 634 if ( defined( 'WP_USER_ADMIN' ) ) 635 return WP_USER_ADMIN; 636 return false; 637 } 638 639 /** 624 640 * Whether Multisite support is enabled 625 641 *
Note: See TracChangeset
for help on using the changeset viewer.