Skip to:

Opened 8 years ago

Closed 8 years ago

#7011 closed defect (bug) (no action required)

Multisite - deleted users not removed from groups

Reported by: rogercoathup's profile rogercoathup Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc: roger@…


We are experiencing a problem where users who've deleted their accounts are still receiving email notifications of group activities.

Network has 2 sites:

Main site has BuddyPress activated
Second site is non BuddyPress

A user has joined a group on the BuddyPress site, then chosen the delete account option from their BuddyPress profile settings.

This removes them from the BuddyPress site, but, as expected, does not remove them from the second site on the installation.

However, it's also not removing them from the group members in the database (their id remains in the group members field in the wp_bp_group_members table).

As a result they are still receiving email notifications related to the group.

If problem is confirmed, I suggest BP should be hooking on to the delete and clearing the group members table accordingly.

Change History (5)

#1 @imath
8 years ago

Thanks for your report @rogercoathup, i'll look to this issue asap.

#2 @imath
8 years ago

I wasn't able to reproduce.

I've tested this :

  1. Multisite, BuddyPress activated on root blog but not network widely
  2. Multisite, BuddyPress activated network widely

In both cases, even if the user has a role on another site of the network the user is *completely* deleted and not removed from the site.

So i'm a bit surprised of the behavior you described. Because as we are using wpmu_delete_user() in bp_core_delete_account() and not remove_user_from_blog() to me there's no way the user is not completely deleted without a plugin or a script playing in this area.

I agree case 1 is a bit annoying to me, and another case is possibly a bit more annoying: On the main blog of the network we have a regular administrator. BuddyPress is activated on a subsite. The Administrator wants to be out of the BuddyPress users of the subsite, so he delete his account thinking it's only removing him from this site. And boom!

But if we simply remove the user from the blog, his account will still be available and he would still be listed in members.

So clicking on delete my account means delete my account on all sites of the network :)

#3 @rogercoathup
8 years ago

  • Cc roger@… added

@imath -- sorry, I didn't get notified on your follow up. Will see if I can consistently reproduce on my development installation

#4 @DJPaul
8 years ago

  • Component changed from API to Core

#5 @DJPaul
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

This report has had no follow-up from the original reporter, and as we've been unable to reproduce the issue, I'm closing it.

Note: See TracTickets for help on using tickets.