[wp-trac] [WordPress Trac] #12531: Improve get_blog_count() and get_user_count(), remove get_sitestats()

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 13 23:10:51 UTC 2010


#12531: Improve get_blog_count() and get_user_count(), remove get_sitestats()
--------------------------+-------------------------------------------------
 Reporter:  ocean90       |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Multisite     |     Version:           
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by ocean90):

 ryan: Yep, it should be for that.[[BR]]


 I reduce the queries to one and create 1,100 sites and make some tests and
 the counting doesn't make the site really 'unusably slow'. The results are
 also saved in the site transient.[[BR]]
 So, I upload the new patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12531#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list