[wp-trac] [WordPress Trac] #33875: Comment caching could be improved

WordPress Trac noreply at wordpress.org
Mon Sep 14 22:03:25 UTC 2015


#33875: Comment caching could be improved
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.4
Component:  Comments        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------

Comment (by wonderboymusic):

 In [changeset:"34131"]:
 {{{
 #!CommitTicketReference repository="" revision="34131"
 The "counts" cache for comments by post id is never invalidated. Neither
 `wp_update_comment_count()` nor `wp_update_comment_count_now()` touch the
 cache.

 Adds unit test.
 See #33875.
 }}}

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


More information about the wp-trac mailing list