[wp-trac] [WordPress Trac] #18955: get_site_option caches default value when option does not exist

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 18 17:10:17 UTC 2011


#18955: get_site_option caches default value when option does not exist
--------------------------+--------------------
 Reporter:  wpmuguru      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  Multisite     |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by ryan):

 As discussed in IRC, 18955.op3.2.diff circumvents the filter at the end of
 the function. get_option() already behaves like this. We might make
 get_site_option() behave in the same fashion.

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


More information about the wp-trac mailing list