1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-21 20:54:17 +08:00
buddypress/tests/phpunit/testcases/groups
r-a-y b3d22f52cf 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).

git-svn-id: https://buddypress.svn.wordpress.org/branches/3.0@12131 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2018-05-25 23:29:28 +00:00
..
functions Ensure that shared user fixtures are fully cleaned up. 2017-11-03 21:11:52 +00:00
template Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
activity.php Groups: Fix display of "Comment" button in the activity stream. 2018-05-25 23:29:28 +00:00
avatars.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
cache.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
class-bp-group-extension.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
class-bp-group-member-query.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
class-bp-groups-group.php Groups: Admin/mod queries should respect when a group has no admins/mods. 2018-02-01 20:10:42 +00:00
class-bp-groups-member.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
functions.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
notifications.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
template.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
types.php Ensure that shared user fixtures are fully cleaned up. 2017-11-03 21:11:52 +00:00
user_can.php Unit Tests: After r11970, fix fatal error when running WordPress 4.5. 2018-04-13 18:27:30 +00:00