[wp-trac] [WordPress Trac] #17883: get_blog_option queries DB on default blog_id

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 24 18:35:03 UTC 2011


#17883: get_blog_option queries DB on default blog_id
--------------------------+-----------------------------
 Reporter:  wpmuguru      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:  3.1.3
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 If get_blog_option is passed null for a blog_id, it queries the DB instead
 of using the current blog option cache.

 In most, if not all, of the MS specific functions that have a $blog_id, if
 $blog_id is null, the current blog is used.

 patch is attached.

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


More information about the wp-trac mailing list