change select box to ajax in admin-users area (4 posts)

  1. avvvv
    Posted 3 years ago #

    We have a lot of users registered to our site ( ~ 100,000 )
    and every time we try to delete one the user page dont load properly.
    the reason is that wordpress loads all users names in the site to the select box ( move posts to ).
    How can i fix it? ( i can build something that will use ajax but i dont want to change wordpress core code ).
    thanks in advance

  2. chriscarvache
    Posted 3 years ago #

    This doesn't exist yet... But here's a patch that would be used to hi-jack the wp_dropdown_users function. At this point you would HAVE to modify the core to do this.

  3. chriscarvache
    Posted 3 years ago #

    Albeit this isn't exactly what you need. But the patch would allow you to develop an AJAX solution.

  4. avvvv
    Posted 3 years ago #

    Thanks you! although i have already solved it with autocomplete text filed. I modified just one line - where the dropdown is.
    I will upload it to my blog later if someone want to learn.

Topic Closed

This topic has been closed to new replies.

About this Topic