Changeset 628 for trunk/wp-admin/moderation.php
- Timestamp:
- 12/18/2003 09:36:13 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/moderation.php
r601 r628 21 21 } 22 22 23 $ b2varstoreset = array('action','item_ignored','item_deleted','item_approved');24 for ($i=0; $i<count($ b2varstoreset); $i += 1) {25 $ b2var = $b2varstoreset[$i];26 if (!isset($$ b2var)) {27 if (empty($HTTP_POST_VARS["$ b2var"])) {28 if (empty($HTTP_GET_VARS["$ b2var"])) {29 $$ b2var = '';23 $wpvarstoreset = array('action','item_ignored','item_deleted','item_approved'); 24 for ($i=0; $i<count($wpvarstoreset); $i += 1) { 25 $wpvar = $wpvarstoreset[$i]; 26 if (!isset($$wpvar)) { 27 if (empty($HTTP_POST_VARS["$wpvar"])) { 28 if (empty($HTTP_GET_VARS["$wpvar"])) { 29 $$wpvar = ''; 30 30 } else { 31 $$ b2var = $HTTP_GET_VARS["$b2var"];31 $$wpvar = $HTTP_GET_VARS["$wpvar"]; 32 32 } 33 33 } else { 34 $$ b2var = $HTTP_POST_VARS["$b2var"];34 $$wpvar = $HTTP_POST_VARS["$wpvar"]; 35 35 } 36 36 }
Note: See TracChangeset
for help on using the changeset viewer.