[wp-trac] [WordPress Trac] #53807: Add function or filter to send all customizer setting default values to the database upon theme installation
WordPress Trac
noreply at wordpress.org
Sun Aug 1 20:27:55 UTC 2021
#53807: Add function or filter to send all customizer setting default values to the
database upon theme installation
-----------------------------+-----------------------------
Reporter: curtiskessler | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-----------------------------+-----------------------------
Comment (by joyously):
I forgot to mention that the theme should not be calling `set_theme_mod()`
since the Customizer handles writing to the database at the correct time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53807#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list