Changeset 6229
- Timestamp:
- 01/12/2017 11:41:06 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/groups.php
r6220 r6229 239 239 case 'read_hidden_forums' : 240 240 case 'read_private_forums' : 241 if ( bbp_group_is_member() || bbp_group_is_mod() || bbp_group_is_admin() ) { 241 if ( bbp_group_is_banned() ) { 242 $caps = array( 'do_not_allow' ); 243 244 } else if ( bbp_group_is_member() || bbp_group_is_mod() || bbp_group_is_admin() ) { 242 245 $caps = array( 'participate' ); 243 246 }
Note: See TracChangeset
for help on using the changeset viewer.