Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


  • 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)

  • 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 ?


    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:
    https://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~)


    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.


    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)
  • The topic ‘BP site with 90,000+ users breaks when deleting user from backend’ is closed to new replies.
Skip to toolbar