[wp-trac] [WordPress Trac] #24844: get_theme_mods doesn't return the theme customizer preview's new values.
WordPress Trac
noreply at wordpress.org
Tue Feb 14 18:44:33 UTC 2017
#24844: get_theme_mods doesn't return the theme customizer preview's new values.
--------------------------+-----------------------------
Reporter: nessworthy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: 3.5.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Changes (by westonruter):
* milestone: Awaiting Review => Future Release
Comment:
I think the solution here is to add a filter for the underlying
`theme_mods_{$theme_slug}` ''option'' to apply the multidimensional
filters at that level instead of at the `theme_mod_{$name}` level. This
will both solve the problem of `get_theme_mods` not returning the expected
values but then the `theme_mod_{$name}` filters can be removed entirely.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24844#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list