mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-30 08:08:10 +02:00
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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user