[wp-trac] [WordPress Trac] #26394: In update_option if option is missing add the option with autoload no

WordPress Trac noreply at wordpress.org
Thu Dec 5 15:21:30 UTC 2013


#26394: In update_option if option is missing add the option with autoload no
-------------------------+------------------------------
 Reporter:  codix        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Performance  |     Version:  3.7
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by nofearinc):

 I've uploaded a SVN diff of the patch for compatibility. Did you use `git
 diff --no-prefix` to get the patch as it should be the right way to do it?

 Additionally, I agree with your concerns, but given the fact that
 `add_option` sets autoload as yes by default, I'm not sure if that the
 patch is not against the defaults expected in add_option.

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


More information about the wp-trac mailing list