[wp-trac] [WordPress Trac] #22024: The query cache in WP_Comment_Query:query() is not invalidated when comments are added
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 27 21:56:07 UTC 2012
#22024: The query cache in WP_Comment_Query:query() is not invalidated when
comments are added
-------------------+--------------------------
Reporter: ryan | Type: defect (bug)
Status: new | Priority: normal
Milestone: 3.5 | Component: Comments
Version: 3.4.2 | Severity: normal
Keywords: |
-------------------+--------------------------
last_changed is updated in clean_comment_cache(). clean_comment_cache() is
not called from wp_insert_comment().
Tests_Comment_Query::test_get_comments_for_post() triggers the problem.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22024>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list