[wp-trac] [WordPress Trac] #39259: 'custom_css_post_id' theme mod of `-1` doesn't prevent queries
WordPress Trac
noreply at wordpress.org
Thu Jan 5 07:12:25 UTC 2017
#39259: 'custom_css_post_id' theme mod of `-1` doesn't prevent queries
--------------------------+--------------------------
Reporter: dlh | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7.1
Component: Customize | Version: 4.7
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"39688"]:
{{{
#!CommitTicketReference repository="" revision="39688"
Customize: Ensure `theme_mod`-cache of `custom_css` lookup of `-1` short-
circuits a `WP_Query` from being made.
Props dlh.
See #35395.
Fixes #39259.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39259#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list