[wp-trac] [WordPress Trac] #40669: Proper query cache invalidation on queries meta queries

WordPress Trac noreply at wordpress.org
Thu Oct 12 14:59:00 UTC 2017


#40669: Proper query cache invalidation on queries meta queries
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
     Type:  defect (bug)                         |  boonebgorges
 Priority:  normal                               |      Status:  assigned
Component:  Query                                |   Milestone:  4.9
 Severity:  normal                               |     Version:
 Keywords:  has-patch dev-feedback needs-unit-   |  Resolution:
  tests                                          |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 In [changeset:"41848"]:
 {{{
 #!CommitTicketReference repository="" revision="41848"
 Invalidate comment query cache when modifying comment meta.

 Comment queries are sensitive to comment meta due to the `meta_query`
 parameter, so the cache must be invalidated when comment meta is changed,
 added, or deleted.

 Props spacedmonkey.
 See #40669.
 }}}

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


More information about the wp-trac mailing list