Skip to:
Content

BuddyPress.org

Changeset 6758


Ignore:
Timestamp:
01/30/2013 07:50:50 PM (12 years ago)
Author:
djpaul
Message:

In Groups, don't show the "admin" nav item for group moderators. Fixes #4737, see r5462.

File:
1 edited

Legend:

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

    r6653 r6758  
    472472            }
    473473
    474             // If the user is a group mod or more, then show the group admin nav item
    475             if ( bp_is_item_admin() || bp_is_item_mod() ) {
     474            // If the user is a group admin, then show the group admin nav item
     475            if ( bp_is_item_admin() ) {
    476476                $sub_nav[] = array(
    477477                    'name'            => __( 'Admin', 'buddypress' ),
Note: See TracChangeset for help on using the changeset viewer.