Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/06/2018 04:07:36 PM (7 years ago)
Author:
r-a-y
Message:

Groups: Banned group members shouldn't be able to comment on activity items.

Previously, we did not check activity commenting capabilities against group
membership status.

Props rachelbaker, boonebgorges, imath, DJPaul, r-a-y.

Fixes #4429.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-template.php

    r11837 r11959  
    29472947     *
    29482948     * @param bool   $can_comment Status on if activity reply can be commented on.
    2949      * @param string $comment     Current comment being checked on.
     2949     * @param object $comment     Current comment object being checked on.
    29502950     */
    29512951    return (bool) apply_filters( 'bp_activity_can_comment_reply', $can_comment, $comment );
Note: See TracChangeset for help on using the changeset viewer.