[wp-trac] [WordPress Trac] #13043: get_site_option should use wpdb->get_row

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 21:02:35 UTC 2010


#13043: get_site_option should use wpdb->get_row
--------------------------+-------------------------------------------------
 Reporter:  laceous       |        Owner:        
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  3.0   
Component:  Multisite     |      Version:  3.0   
 Severity:  normal        |   Resolution:  fixed 
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by nacin):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [14410]) Use get_row instead of get_var in get_site_option, aligning
 it with get_option, due to funkiness with 0/false/null. fixes #13043.
 props laceous.

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


More information about the wp-trac mailing list