Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-core/deprecated/1.5.php

    r5132 r5176  
    4949    _deprecated_function( __FUNCTION__, '1.5', 'is_main_site()' );
    5050    return is_main_site( $blog_id );
     51}
     52
     53/**
     54 * WPMU version of is_super_admin()
     55 *
     56 * @deprecated 1.5
     57 * @deprecated Use is_super_admin()
     58 * @param int $user_id Optional. Defaults to logged-in user
     59 * @return bool True if is super admin
     60 */
     61if ( !function_exists( 'is_site_admin' ) ) {
     62    function is_site_admin( $user_id = false ) {
     63        _deprecated_function( __FUNCTION__, '1.5', 'is_super_admin()' );
     64        return is_super_admin( $user_id );
     65    }
    5166}
    5267
Note: See TracChangeset for help on using the changeset viewer.