Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/14/2011 05:19:12 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Find/replace on is_super_admin() to use bp_current_user_can( 'bp_moderate' ). See #3740.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-adminbar.php

    r5213 r5329  
    2828
    2929    // Only show this menu to group admins and super admins
    30     if ( !is_super_admin() && !bp_group_is_admin() )
     30    if ( !bp_current_user_can( 'bp_moderate' ) && !bp_group_is_admin() )
    3131        return false;
    3232
Note: See TracChangeset for help on using the changeset viewer.