When I mark manually a comment as spam, the comment is unpublished but the Drupal's cache is not cleared (i.e. cache_page table is not being emptied). That makes the comment still visible on anonymous users.

Comments

drpitch’s picture

After viewing the source code, maybe the solution is add two calls to cache_clear_all(); in 'publish' and 'unpublish' cases in function comment_spamapi of spam_comment.inc file.

jeremy’s picture

Status: Active » Fixed

Fix commited to 5.x-3.0-dev and 6.x-dev. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.