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

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 7 00:32:54 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 dd32):

 Also: No need to pass hard-coded queries through prepare() before querying
 them, That should only be done if placeholders are used within the query
 (ie. %d and %s); - Not sure why the original function is doing that.

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


More information about the wp-trac mailing list