Skip to:
Content

bbPress.org

Changeset 4545


Ignore:
Timestamp:
12/05/2012 09:08:10 PM (12 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress Groups:

  • Add moderator and admin checks to map_topic_meta_caps()
  • Props lakrisgubben.
  • Fixes #2084 (2.2 branch)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/includes/extend/buddypress/group.php

    r4536 r4545  
    148148            case 'read_hidden_forums'  :
    149149            case 'read_private_forums' :
    150                 if ( bp_group_is_member() ) {
     150                if ( bp_group_is_member() || bp_group_is_mod() || bp_group_is_admin() ) {
    151151                    $caps = array( 'participate' );
    152152                }
Note: See TracChangeset for help on using the changeset viewer.