[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 08:14:58 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 commit fixed-major  |     Focuses:  performance
------------------------------------------+--------------------------
Changes (by dd32):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39694"]:
 {{{
 #!CommitTicketReference repository="" revision="39694"
 Customize: Ensure `theme_mod`-cache of `custom_css` lookup of `-1` short-
 circuits a `WP_Query` from being made.

 Props dlh, westonruter.
 See #35395.
 Merges [39688] to the 4.7 branch.
 Fixes #39259.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39259#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list