Changeset 3283
- Timestamp:
- 10/07/2010 09:25:25 PM (16 years ago)
- File:
-
- 1 edited
-
branches/1.2/bp-core/bp-core-wpabstraction.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-wpabstraction.php
r3195 r3283 91 91 } 92 92 93 if ( !function_exists( 'is_super_admin' ) ) {94 function is_super_admin( $user_id = false ) {95 if ( current_user_can( 'manage_options' ) )96 return true;97 98 return false;99 }100 }101 102 if ( !function_exists( 'get_current_user_id' ) ) {103 function get_current_user_id() {104 global $current_user;105 get_currentuserinfo();106 return $current_user->data->ID;107 }108 }109 110 93 if ( !function_exists( 'update_blog_status' ) ) { 111 94 function update_blog_status() {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)