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

WordPress Trac noreply at wordpress.org
Tue Mar 3 22:45:15 UTC 2015


#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:  Options, Meta APIs  |     Version:  3.7
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  performance
--------------------------------+------------------------------
Changes (by MikeHansenMe):

 * keywords:   => has-patch


Comment:

 [attachment: 26394.2.diff] adds an additional argument that has a default
 of 'yes'. This will allow existing code to continue working as it has but
 allows specific 'no' cases to add the additional arg.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26394#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list