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

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 18 18:31:12 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 duck_):

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

 Thanks. Though it doesn't say it ''should'' rather that it ''will'', this
 is specifically noted as a warning which also mentions that this behaviour
 is contrary to that of add_option().

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


More information about the wp-trac mailing list