Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/12/2011 12:04:50 PM (14 years ago)
Author:
djpaul
Message:

Set is_item_admin/is_item_mod in core component, not members. Fixes #3262

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r4466 r4488  
    696696}
    697697
     698function bp_user_has_access() {
     699    $has_access = ( is_super_admin() || bp_is_my_profile() ) ? true : false;
     700
     701    return apply_filters( 'bp_user_has_access', $has_access );
     702}
     703
    698704/** is_() functions to determine the current page *****************************/
    699705
Note: See TracChangeset for help on using the changeset viewer.