[wp-trac] [WordPress Trac] #39259: 'custom_css_post_id' theme mod of `-1` doesn't prevent queries
WordPress Trac
noreply at wordpress.org
Tue Dec 13 05:31:24 UTC 2016
#39259: 'custom_css_post_id' theme mod of `-1` doesn't prevent queries
--------------------------+------------------------------
Reporter: dlh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by dlh):
[attachment:39259.2.diff] revises the change to
`wp_update_custom_css_post()` so that the theme mod is set only when
updating the Custom CSS for the current stylesheet. But now I'm not quite
sure how updates to other stylesheets would have to work with respect to
the theme mod.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39259#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list