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/notifications
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
..
class-bp-notifications-notification.php Activity & Tests: fix typos in inline comments 2020-01-11 13:46:16 +00:00
class-bp-notifications-template.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
functions.php Don't delete user data on delete_user hook on Multisite. 2020-03-29 17:32:05 +00:00
template.php Don't create a current user by default in most unit tests. 2015-02-27 03:00:42 +00:00