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:
parent
7844233eb2
commit
f4783007fb
|
@ -4,7 +4,7 @@ require_once('admin.php');
|
||||||
$title = __('Moderate comments');
|
$title = __('Moderate comments');
|
||||||
$parent_file = 'edit.php';
|
$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) {
|
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
|
||||||
$wpvar = $wpvarstoreset[$i];
|
$wpvar = $wpvarstoreset[$i];
|
||||||
if (!isset($$wpvar)) {
|
if (!isset($$wpvar)) {
|
||||||
|
@ -72,9 +72,9 @@ break;
|
||||||
|
|
||||||
default:
|
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>";
|
echo "<div class='updated'>\n<p>";
|
||||||
if ($approved) {
|
if ($approved) {
|
||||||
if ('1' == $approved) {
|
if ('1' == $approved) {
|
||||||
|
|
Loading…
Reference in New Issue