Changeset 2299
- Timestamp:
- 01/15/2010 10:52:59 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-wpabstraction.php
r2276 r2299 88 88 if ( !function_exists( 'is_site_admin' ) ) { 89 89 function is_site_admin() { 90 global $user_level; 91 92 get_currentuserinfo(); 93 94 if ( 10 == $user_level ) 90 if ( current_user_can( 'manage_options' ) ) 95 91 return true; 96 92
Note: See TracChangeset
for help on using the changeset viewer.