[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:00:49 UTC 2015
#33499: Allow `$autoload` to be set in `WP_Customize_Setting::_update_option()`
------------------------------+--------------------------
Reporter: dlh | Owner: westonruter
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.4
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Changes (by westonruter):
* keywords: has-patch => has-patch commit
Comment:
[attachment:33499.4.diff] changes behavior to leave `autoload` undefined
if not specified. This ensures that if one multidimensional option setting
indicates the `autoload=false` value, that the others will not override it
with `autoload=true`. Also adds unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33499#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list