[wp-trac] [WordPress Trac] #15599: Update check on multisite should use get_user_count()

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 28 07:08:06 UTC 2010


#15599: Update check on multisite should use get_user_count()
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1
Component:  Multisite     |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 count_users() is intensive, and it's also not the right query, because it
 only counts the current blog. We should leverage get_user_count() when
 running multisite in wp_version_check().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15599>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list