From 81a4ca78506ca2cef94cf603c3db3ccd23d98e8d Mon Sep 17 00:00:00 2001 From: Alex 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: https://develop.svn.wordpress.org/trunk@682 602fd350-edb4-49c9-b593-d223f7449a82 --- 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:

-
+