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

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 21 18:11:14 GMT 2008

#5702: update_option should accept $autoload parameter
 Reporter:  adamrbrown  |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:           
Component:  General     |     Version:  2.3.2    
 Severity:  normal      |    Keywords:  has-patch
 update_option should accept the $autoload parameter. The codex claims that
 it already does
 ([http://codex.wordpress.org/Function_Reference/update_option here]), but
 that is incorrect (at least in version 2.3.2).

 Many plugin developers--myself included--never call add_option directly.
 Instead, I only ever call update_option, which will call add_option if

 But if update_option will call add_option, then update_option should
 accept all of add_option's parameters--including $autoload.

 'Tis a very simple patch, without much chance of screwing anything up.

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

More information about the wp-trac mailing list