[wp-trac] [WordPress Trac] #19867: wp_dropdown_users() still not scalable
WordPress Trac
noreply at wordpress.org
Tue Jan 15 08:32:29 UTC 2013
#19867: wp_dropdown_users() still not scalable
-------------------------------------------------+-------------------------
Reporter: prettyboymp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Performance | Release
Severity: normal | Version: 3.3.1
Keywords: ui-feedback has-patch needs-refresh | Resolution:
-------------------------------------------------+-------------------------
Changes (by kovshenin):
* cc: kovshenin (added)
* keywords: has-patch ui-feedback => ui-feedback has-patch needs-refresh
Comment:
Replying to [comment:14 helen]: I think `wp_is_large_network` is actually
used to prevent autocomplete because such searches would be really slow on
large databases. Here's site-users.php:
{{{
if ( ! wp_is_large_network( 'users' ) )
wp_enqueue_script( 'user-suggest' );
}}}
We can probably just reuse the whole thing as is, with a different ajax
callback.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19867#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list