From 8eb8cc3b2787c8fabecbd5b4098ef3d1da5142c8 Mon Sep 17 00:00:00 2001
From: saxmatt
Date: Wed, 8 Sep 2004 08:30:18 +0000
Subject: [PATCH] Delete all them suckers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/moderation.php | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php
index 6170aa2b3..8a8a0af40 100644
--- a/wp-admin/moderation.php
+++ b/wp-admin/moderation.php
@@ -60,6 +60,8 @@ case 'update':
$item_approved = 0;
foreach($comment as $key => $value) {
+ if ($feelinglucky && 'later' == $value)
+ $value = 'delete';
switch($value) {
case 'later':
// do nothing with that comment
@@ -132,7 +134,7 @@ if ($comments) {
// list all comments that are waiting for approval
$file = basename(__FILE__);
?>
- The following comments are in the moderation queue:
') ?>
+