Make WordPress Core


Ignore:
Timestamp:
12/18/2003 09:36:13 AM (21 years ago)
Author:
saxmatt
Message:

Renaming Reloaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options.php

    r620 r628  
    2020}
    2121
    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');
     23for ($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 = '';
    2929            } else {
    30                 $$b2var = $HTTP_GET_VARS["$b2var"];
     30                $$wpvar = $HTTP_GET_VARS["$wpvar"];
    3131            }
    3232        } else {
    33             $$b2var = $HTTP_POST_VARS["$b2var"];
     33            $$wpvar = $HTTP_POST_VARS["$wpvar"];
    3434        }
    3535    }
Note: See TracChangeset for help on using the changeset viewer.