[wp-trac] [WordPress Trac] #18422: Oddities in add(_site)_option

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 18 18:26:29 UTC 2011


#18422: Oddities in add(_site)_option
--------------------------+------------------
 Reporter:  duck_         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by edwardw):

 Replying to [comment:5 duck_]:
 > Patch attached for the 2nd part of the ticket. add_site_option()
 shouldn't update_site_option() if it already exists. Thoughts please, aye
 or nay?

 According to the
 [http://codex.wordpress.org/WPMU_Functions/add_site_option Codex] it says
 it should overwrite the existing value.

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


More information about the wp-trac mailing list