1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-24 21:16:56 +08:00
buddypress/tests/phpunit/testcases/groups
Boone B Gorges 05268cbbe5 Don't delete user data on delete_user hook on Multisite.
The new function `bp_remove_user_data_on_delete_user_hook()`, which defaults
to `false` on Multisite and `true` otherwise, helps BuddyPress to differentiate
between the use of `wp_delete_user()` to delete a user account from an
installation (typical on non-Multisite) and its use to remove a user from
a site in a Multisite instance.

Props imath.

Fixes #8175.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@12605 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2020-03-29 17:32:05 +00:00
..
functions Update invitation/request functions calls. 2019-08-12 20:43:58 +00:00
template Update invitation/request functions calls. 2019-08-12 20:43:58 +00:00
activity.php Improve i18n of Groups activity updates action string 2019-05-11 13:33:14 +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 Update BP_Group_Member_Query for Invitation API compatibility. 2019-08-12 20:43:44 +00:00
class-bp-groups-group.php Update BP_Groups_Group for Invitation API compatibility. 2019-08-12 20:43:10 +00:00
class-bp-groups-member.php Update BP_Groups_Member for Invitation API compatibility. 2019-08-12 20:43:23 +00:00
functions.php Don't delete user data on delete_user hook on Multisite. 2020-03-29 17:32:05 +00:00
notifications.php Invitations: Clean up notifications on acceptance. 2019-08-12 20:45:04 +00:00
template.php Activity & Tests: fix typos in inline comments 2020-01-11 13:46:16 +00:00
types.php Ensure that shared user fixtures are fully cleaned up. 2017-11-03 21:11:52 +00:00
user_can.php Invitations: Allow invitations to public groups. 2019-08-12 20:45:50 +00:00