1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-23 21:06:56 +08:00
buddypress/tests/phpunit/testcases/members
r-a-y 9f5542838c Members: When marking a user as a spammer, do not mark sites as spam if the site has more than one administrator.
Previously on a multisite install, we would mark all the spammer's
sites as spam. This is pretty aggressive and could unintentionally
mark legitmiate sites as spam as well.

To address this, we now only mark a site as spam if the spammer is the
sole administrator of the site.

Fixes #8316 (for 6.0 branch).

git-svn-id: https://buddypress.svn.wordpress.org/branches/6.0@12666 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2020-06-16 04:31:11 +00:00
..
template Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
activity.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-signup.php BP Signup: add a whitelist of available orderby arguments 2020-04-26 03:58:20 +00:00
functions.php Members: When marking a user as a spammer, do not mark sites as spam if the site has more than one administrator. 2020-06-16 04:31:11 +00:00
template.php Fix failing tests under WordPress trunk (5.3) 2019-09-16 21:52:45 +00:00
types.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00