It should tell you how you've modded even if register_globals off

git-svn-id: http://svn.automattic.com/wordpress/trunk@2136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-01-24 08:21:31 +00:00
parent 7844233eb2
commit f4783007fb
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ require_once('admin.php');
$title = __('Moderate comments');
$parent_file = 'edit.php';
$wpvarstoreset = array('action', 'item_ignored', 'item_deleted', 'item_approved', 'feelinglucky');
$wpvarstoreset = array('action', 'item_ignored', 'item_deleted', 'item_approved', 'feelinglucky', 'ignored', 'deleted', 'approved');
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
$wpvar = $wpvarstoreset[$i];
if (!isset($$wpvar)) {
@ -72,9 +72,9 @@ break;
default:
require_once('admin-header.php');
require_once('admin-header.php');
if (isset($deleted) || isset($approved) || isset($ignored)) {
if ( isset($deleted) || isset($approved) || isset($ignored) ) {
echo "<div class='updated'>\n<p>";
if ($approved) {
if ('1' == $approved) {