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

WordPress Trac noreply at wordpress.org
Thu Oct 12 15:19:32 UTC 2017


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

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


Comment:

 In [changeset:"41849"]:
 {{{
 #!CommitTicketReference repository="" revision="41849"
 Bump 'posts' query cache incrementor when modifying postmeta.

 This ensures that the `get_pages()` query cache doesn't go stale when
 postmeta is modified.

 Props spacedmonkey.
 Fixes #40669.
 }}}

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


More information about the wp-trac mailing list