[wp-trac] [WordPress Trac] #55460: Improve cache key generation in WP_Comment_Query

WordPress Trac noreply at wordpress.org
Wed Apr 13 02:55:50 UTC 2022


#55460: Improve cache key generation in WP_Comment_Query
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.0
Component:  Comments                             |     Version:  3.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests commit                                   |  performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

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


Comment:

 In [changeset:"53169" 53169]:
 {{{
 #!CommitTicketReference repository="" revision="53169"
 Cache API: Improve cache key generation in `WP_Comment_Query`.

 Discard the parameters `update_comment_meta_cache` and
 `update_comment_post_cache` when generating the cache key as neither have
 an effect on the database query generated.

 Props uday17035, spacedmonkey.
 Fixes #55460.
 }}}

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


More information about the wp-trac mailing list