Changeset 6342 for trunk/bp-groups/bp-groups-filters.php
- Timestamp:
- 09/18/2012 06:03:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-filters.php
r6285 r6342 78 78 79 79 /** 80 * Only filter the forum SQL on group pages or on the forums directory 80 * Only filter the forum SQL on group pages or on the forums directory 81 81 */ 82 82 function groups_add_forum_privacy_sql() { … … 148 148 if ( bp_current_user_can( 'bp_moderate' ) ) 149 149 return true; 150 150 151 151 if ( 'add_tag_to' == $cap ) 152 152 if ( $bp->groups->current_group->user_has_access ) return true; … … 170 170 } 171 171 add_filter( 'get_latest_topics_fields', 'groups_filter_forums_root_page_sql' ); 172 173 ?>
Note: See TracChangeset
for help on using the changeset viewer.