Support Forum

Problem deleting WP User (large site with 105k+ members)

SP sptab
sptab
Member

Here is another issue related to WP/SP sites with a lot of users, mine has more than 105 000.

When trying to delete a User from WP Dashboard, there’s a SP feature listing the existing users so the posts for the deleted user can be re-attributed to someone else.

URL is like: wp-admin/users.php?action=delete&user=xxxx&_wpnonce=yyyy

This is rather problematic with a large user base, as the web browser doesn’t like loading a userlist so large. It actually works but need a couple of minutes of patience.

I’ve noticed the entry 0003948: Membership tools not scaling in your Bugtracker, I’m happy to see you are looking to better support sites with large user bases. Current issues such as the one in this post or this other one are especially annoying and I hope it can be quickly fixed.

Thank you.

4 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

While I can identify a couple of potential bottlenecks in the user deletion routines we employ – and already have tickets open to rectify – I am really not sure what this means:

…there’s a SP feature listing the existing users so the posts for the deleted user can be re-attributed to someone else…

SP doesn’t list anything – we run some code but there is no interactive display. It is a most annoying feature of WordPress actually, that the delete user routines are so hard to work with as they do not provide the hooks we would like to see. So – while I agree our routines performing the actual delete are a little long-winded in a couple of places I am at a loss to know what you are actually referring to I am afraid.

YS Yellow Swordfish
Yellow Swordfish
Member

Oh wait… are you referring to the ‘attribute posts to…’ dropdown list? If so then that is nothing to do with Simple:Press. That, my friend, is pure WordPress.

SP sptab
sptab
Member

Yes, I was referring to “attribute posts to” dropdown list… I was actually confused thinking it was related to SP posts, not WP ones.

My mistake, I’ll check with WP team if something can be done then.

Thank you.

YS Yellow Swordfish
Yellow Swordfish
Member

We would appreciate that actually. It would also be nice if they gave us some more hooks to use for the whole deletion process as at the moment it is pretty thin and unhelpful…

God luck!