Changeset 11703 for trunk/src/bp-groups/bp-groups-filters.php
- Timestamp:
- 09/27/2017 09:08:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-filters.php
r11299 r11703 310 310 function bp_groups_disable_at_mention_notification_for_non_public_groups( $send, $usernames, $user_id, BP_Activity_Activity $activity ) { 311 311 // Skip the check for administrators, who can get notifications from non-public groups. 312 if ( user_can( $user_id, 'bp_moderate' ) ) {312 if ( bp_user_can( $user_id, 'bp_moderate' ) ) { 313 313 return $send; 314 314 }
Note: See TracChangeset
for help on using the changeset viewer.