[wp-trac] Re: [WordPress Trac] #5702: update_option should accept $autoload parameter

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 21 23:47:03 GMT 2008


#5702: update_option should accept $autoload parameter
------------------------+---------------------------------------------------
 Reporter:  adamrbrown  |        Owner:  anonymous
     Type:  defect      |       Status:  new      
 Priority:  normal      |    Milestone:  2.5      
Component:  General     |      Version:  2.3.2    
 Severity:  normal      |   Resolution:           
 Keywords:  has-patch   |  
------------------------+---------------------------------------------------
Comment (by DD32):

 Only problem with the patch is that if you're updating an option which
 allready exists, then it ignores the autoload parameter.

 It also requires you to dodge around the 3rd parameter(Which is no longer
 used) -- What was that param. used for originally? Maybe its possible to
 take over that param instead (and only do something if its a
 true/false/yes/no value?)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5702#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list