[wp-trac] [WordPress Trac] #33499: Allow `$autoload` to be set in `WP_Customize_Setting::_update_option()`

WordPress Trac noreply at wordpress.org
Tue Oct 20 21:18:07 UTC 2015


#33499: Allow `$autoload` to be set in `WP_Customize_Setting::_update_option()`
------------------------------+--------------------------
 Reporter:  dlh               |       Owner:  westonruter
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Customize         |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 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/33499#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list