[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 Oct 20 21:18:06 UTC 2015


#26394: In update_option if option is missing add the option with autoload no
--------------------------------+---------------------------
 Reporter:  codix               |       Owner:  boonebgorges
     Type:  enhancement         |      Status:  closed
 Priority:  normal              |   Milestone:  4.2
Component:  Options, Meta APIs  |     Version:  3.7
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  performance
--------------------------------+---------------------------

Comment (by westonruter):

 In [changeset:"35305"]:
 {{{
 #!CommitTicketReference repository="" revision="35305"
 Customizer: Allow new `option` settings to not be saved as autoloaded by
 passing an `autoload` arg value of `false`.

 The `autoload` argument value is passed along to `update_option()` which
 has accepted an `$autoload` parameter since [31628].

 Props westonruter, dlh.
 See #26394.
 Fixes #33499.
 }}}

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


More information about the wp-trac mailing list