[wp-trac] [WordPress Trac] #36906: Comment caches should be persistent

WordPress Trac noreply at wordpress.org
Mon May 30 17:51:05 UTC 2016


#36906: Comment caches should be persistent
------------------------------------------+-----------------------------
 Reporter:  boonebgorges                  |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Comments                      |     Version:  2.2
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  performance
------------------------------------------+-----------------------------

Comment (by spacedmonkey):

 Looking into it, there isn't any documentation for why it was added a non-
 persistent cache group add here #6740 .

 Looking into the delete / update functions already has clean_comment_cache
 function calls.
 https://github.com/WordPress/WordPress/blob/da78aeffe9fb2350e09352202c2a33ddfce0b329
 /wp-includes/comment.php#L1193
 https://github.com/WordPress/WordPress/blob/da78aeffe9fb2350e09352202c2a33ddfce0b329
 /wp-includes/comment.php#L2024

 I ran all of the tests for the comment group and nothing fails. I have
 added a patch, that is pretty simple.  I will work on some tests later.

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


More information about the wp-trac mailing list