From 29c9a3c8cddc0fec7308fff7422e0a92943f9e9a Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Fri, 2 Jan 2004 00:49:13 +0000 Subject: [PATCH] added action to moderation post form and fixed the comment var so it works w/o register globals on git-svn-id: http://svn.automattic.com/wordpress/trunk@682 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/moderation.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php index a9d0149508..7892530615 100644 --- a/wp-admin/moderation.php +++ b/wp-admin/moderation.php @@ -36,7 +36,12 @@ for ($i=0; $i $v) { + $comment[intval($k)] = $v; + } +} switch($action) { @@ -137,7 +142,7 @@ if ($comments) { $file = basename(__FILE__); ?>

The following comments wait for approval:

-
+