[buddypress-trac] [BuddyPress Trac] #4429: User banned from public group can still reply to group activity items
buddypress-trac
noreply at wordpress.org
Fri May 25 23:29:29 UTC 2018
#4429: User banned from public group can still reply to group activity items
--------------------------+--------------------------
Reporter: DJPaul | Owner: rachelbaker
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.0
Component: Activity | Version: 1.2
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+--------------------------
Comment (by r-a-y):
In [changeset:"12131" 12131]:
{{{
#!CommitTicketReference repository="" revision="12131"
Groups: Fix display of "Comment" button in the activity stream.
In r11959, the banned group members check is using the wrong conditional.
This caused legitimate group members to never see the "Comment" button in
the activity stream.
This commit reverses the check and adds some unit tests (which should have
been written beforehand!).
Anti-props r-a-y.
See #4429.
Fixes #7854 (3.x branch).
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4429#comment:20>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list