Skip to:
Content

BuddyPress.org

Changeset 3283


Ignore:
Timestamp:
10/07/2010 09:25:25 PM (16 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2654 (branch) props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-wpabstraction.php

    r3195 r3283  
    9191}
    9292
    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 
    11093if ( !function_exists( 'update_blog_status' ) ) {
    11194        function update_blog_status() {
Note: See TracChangeset for help on using the changeset viewer.