Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP site with 90,000+ users breaks when deleting user from backend

  • Avatar of wordpresschina
    WPChina
    Participant

    @wordpresschina

    I have a big problem I realized in the past few days and I’m trying to figure a fix. We run a BP site with over 90,000 users and when we need to delete a user form the backend using a URL like wp-admin/users.php?action=delete&user=7433&_wpnonce=cui97666yt it will not load because the dropdown for ” Attribute all content to:” is too long and breaks the page.

    Is there a way to not attribute the post and just override this page? Or any other fix for this dropdown not appearing?

    Thanks for your suggestions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    I think that is a WP issue rather than a BP issue.

    Have you tried deleting a user from the front-end, on their profile Settings > Delete Account ?

    Avatar of wordpresschina
    WPChina
    Participant

    @wordpresschina

    Yes you’re right it is a WP issue rather than BP ;) But any thoughts on how to deal with that? I see this on the WP forums that it has not been dealt with fully yet:

    http://wordpress.org/support/topic/tweak-for-high-traffic-sites-delete-user-drop-down-menu

    Yes, deleting users from the frontend works fine, but for more systematic searches and tweaks, deleting from the backend works better (just not in this case~)

    Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    Take a look at wp-admin/users.php ~L. 249 re wp_dropdown_users().

    There are no hooks, so it’s a core file hack situation – eek.

    Probably have to replace wp_dropdown_users() with a dummy select.

    Avatar of wordpresschina
    WPChina
    Participant

    @wordpresschina

    Thank you for the tip, and I will add that as a temporary solution. I dislike changing core stuff, but the idea for a dummy dropdown, or just limit to a few hardcoded users, is good~

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.