The query cache in WP_Comment_Query:query() is not invalidated when comments are added
|Reported by:||ryan||Owned by:||ryan|
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.
Change History (14)
- Owner set to ryan
- Resolution set to fixed
- Status changed from new to closed