Ticket #8728: 8728.01.patch
| File 8728.01.patch, 549 bytes (added by , 2 years ago) |
|---|
-
src/bp-groups/bp-groups-activity.php
diff --git src/bp-groups/bp-groups-activity.php src/bp-groups/bp-groups-activity.php index 1cafacd66..7f8ab0854 100644
function bp_groups_filter_activity_user_can_delete( $retval, $activity ) { 655 655 return $retval; 656 656 } 657 657 658 if ( isset( $activity->component ) || 'groups' !== $activity->component ) { 658 // Fixed: changed logical OR to logical AND. 659 if ( isset( $activity->component ) && 'groups' !== $activity->component ) { 659 660 return $retval; 660 661 } 661 662