[…] te all the spam stuff. And to your surprise delete button doesn’t work, here’s a quick fix. To prevent my dear blog fr […]
[…] ooded by spam ! Ok got install all available spam plugins, hacks … Fortunately found this hack and was very useful in cleanin […]
Many thanks for this Mark. Before I saw this post I’d blogged about it so I’ll add a note to say that a fix has been published and applied.
Hi, thanx for the advice – I’ve just gotten 700+ comments so I found it a bit tiresome to delete 20 comments/turn and moderated this line
in the same file:
} else {
$comments = $wpdb->get_results(“SELECT * FROM $tablecomments ORDER BY comment_date DESC LIMIT 20″);
So now I delete 100 comments/turn.