From 33e49f7c7178c6803a41268e04b5bf0091ec8ad7 Mon Sep 17 00:00:00 2001
From: Matt Mullenweg
Date: Wed, 8 Sep 2004 08:30:18 +0000
Subject: [PATCH] Delete all them suckers.
git-svn-id: https://develop.svn.wordpress.org/trunk@1622 602fd350-edb4-49c9-b593-d223f7449a82
---
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 6170aa2b30..8a8a0af406 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:
') ?>
+