Here’s another wrinkle to help clear out the spam comments in the moderation queue.
Edit /wp-admin/moderation.php to change the default radio button from “do nothing” to “delete”. Makes it easy to do a global delete of the comments, instead of having to check “delete” for each one.
In moderation.php, find this language:
<input type=”radio” name=”comment[<?php echo $comment->comment_ID; ?>]” id=”comment[<?php echo $comment->comment_ID; ?>]-delete” value=”delete”/> <label for=”comment[<?php echo $comment->comment_ID; ?>]-delete”><?php _e(‘Delete’) ?></label>
<input type=”radio” name=”comment[<?php echo $comment->comment_ID; ?>]” id=”comment[<?php echo $comment->comment_ID; ?>]-nothing” value=”later” checked=”checked” /> <label for=”comment[<?php echo $comment->comment_ID; ?>]-nothing”><?php _e(‘Do nothing’) ?></label>
Move the ‘checked=”checked”‘ value from ‘Do nothing’ to ‘Delete’:
<input type=”radio” name=”comment[<?php echo $comment->comment_ID; ?>]” id=”comment[<?php echo $comment->comment_ID; ?>]-delete” value=”delete” checked=”checked” /> <label for=”comment[<?php echo $comment->comment_ID; ?>]-delete”><?php _e(‘Delete’) ?></label>
<input type=”radio” name=”comment[<?php echo $comment->comment_ID; ?>]” id=”comment[<?php echo $comment->comment_ID; ?>]-nothing” value=”later”/> <label for=”comment[<?php echo $comment->comment_ID; ?>]-nothing”><?php _e(‘Do nothing’) ?></label>
Now the default for comments awaiting moderation is “delete”, so you can clean them out with one click.