From 9864e8ce57eef3df2cb0a33b04e6e892c0595ad8 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 7 Dec 2003 09:45:57 +0000 Subject: [PATCH] Fixed bug in selection and mass moderation of comments. Made it so if comment moderation was turned of but there were still comments waited to be moderated you could moderate them. git-svn-id: https://develop.svn.wordpress.org/trunk@579 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/wp-moderation.php | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/wp-admin/wp-moderation.php b/wp-admin/wp-moderation.php index fe019a8348..9aa688cf42 100644 --- a/wp-admin/wp-moderation.php +++ b/wp-admin/wp-moderation.php @@ -47,16 +47,6 @@ case 'update': if ($user_level < 3) { die('

Your level is not high enough to moderate comments. Ask for a promotion from your blog admin. :)

'); } - - // check if comment moderation is turned on in the settings - // if not, just give a short note and stop - if ('none' == get_settings('comment_moderation')) { - echo '
-

Comment moderation has been turned off.

-
'; - require('b2footer.php'); - exit; - } $item_ignored = 0; $item_deleted = 0; @@ -105,15 +95,6 @@ default:
  • Comments Awaiting Moderation
  • -

    Comment moderation has been turned off.

    - '; - include("b2footer.php"); - exit; - } // if we come here after deleting/approving comments we give // a short overview what has been done @@ -170,9 +151,9 @@ if ($comments) {

    comment_ID."\">Edit"; echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete just this comment | "; ?>Bulk action: - - - + + +