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