buddypress/bp-members
Boone B Gorges 7e99ce665a Check bp_disable_account_deletion() setting in screen function rather than bp_core_delete_account() business function
The purpose of the disable-account-deletion setting is to prevent normal (ie
non-admin) BP users from deleting their own accounts through the front-end
interface. Locating the settings check in the business function
bp_core_delete_account() therefore caused problems when deleting accounts in
areas that were not meant to be covered by the setting, such as when accounts
are deleted in the Dashboard by an admin, or when the BP_Signup::delete()
method is called. This caused a particular problem in BP 2.0, because the
deletion of signups was no longer correctly cleaning up other data from the
database (xprofile, usermeta, etc).

Fixes #5575

git-svn-id: https://buddypress.svn.wordpress.org/branches/2.0@8325 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2014-04-26 18:45:35 +00:00
..
admin Add 'buddypress' textdomain to strings in bp-members 2014-04-14 13:23:47 +00:00
bp-members-actions.php Don't do capabilities checks in bp_core_process_spammer_status() 2013-11-12 15:14:04 +00:00
bp-members-admin.php Check get_current_screen() is available before using it 2014-04-21 19:12:11 +00:00
bp-members-adminbar.php Properly remove the "Edit Page" WP adminbar menu when on a BP page. 2014-02-12 17:33:41 +00:00
bp-members-buddybar.php First pass at bp-notifications component. Includes: 2013-11-07 17:15:51 +00:00
bp-members-classes.php In BP_Signup::activate(), make sure the user ID is defined before checking user_status 2014-04-18 16:57:44 +00:00
bp-members-filters.php Profile URL: 2012-11-05 01:37:49 +00:00
bp-members-functions.php Check bp_disable_account_deletion() setting in screen function rather than bp_core_delete_account() business function 2014-04-26 18:45:35 +00:00
bp-members-loader.php Add public scope identifier to component loader methods that were otherwise undefined. 2014-03-31 20:15:00 +00:00
bp-members-notifications.php Pass 'string' rather than 'simple' as default parameters in bp_core_get_notifications_for_user() and bp_notifications_get_notifications_for_user(). Fixes #BB2508. (trunk) 2014-01-09 06:50:45 +00:00
bp-members-screens.php Introduce Sign Ups Management 2014-03-13 00:58:28 +00:00
bp-members-template.php Replace wp_parse_args() with bp_parse_args() for all template loops. 2014-03-18 02:09:33 +00:00