[buddypress-trac] [BuddyPress Trac] #7854: Group activity items not showing comment button for group members

buddypress-trac noreply at wordpress.org
Fri May 25 23:29:45 UTC 2018


#7854: Group activity items not showing comment button for group members
--------------------------+---------------------
 Reporter:  Venutius      |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.1.0
Component:  Groups        |     Version:  3.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by r-a-y):

 In [changeset:"12132" 12132]:
 {{{
 #!CommitTicketReference repository="" revision="12132"
 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.

 Fixes #7854 (trunk).
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7854#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list