[buddypress-trac] [BuddyPress Trac] #5575: Deleting Users in Manage Signups Leaving Database Entries

buddypress-trac noreply at wordpress.org
Sat Apr 26 18:45:36 UTC 2014


#5575: Deleting Users in Manage Signups Leaving Database Entries
-----------------------------------+---------------------------
 Reporter:  aaclayton              |       Owner:  boonebgorges
     Type:  defect (bug)           |      Status:  closed
 Priority:  high                   |   Milestone:  2.0.1
Component:  Administration         |     Version:  2.0
 Severity:  major                  |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"8325"]:
 {{{
 #!CommitTicketReference repository="" revision="8325"
 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
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5575#comment:23>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list