Make WordPress Core

Changeset 628 for trunk/wp-register.php


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

Renaming Reloaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-register.php

    r601 r628  
    1919}
    2020
    21 $b2varstoreset = array('action');
    22 for ($i=0; $i<count($b2varstoreset); $i += 1) {
    23         $b2var = $b2varstoreset[$i];
    24         if (!isset($$b2var)) {
    25                 if (empty($HTTP_POST_VARS["$b2var"])) {
    26                         if (empty($HTTP_GET_VARS["$b2var"])) {
    27                                 $$b2var = '';
     21$wpvarstoreset = array('action');
     22for ($i=0; $i<count($wpvarstoreset); $i += 1) {
     23        $wpvar = $wpvarstoreset[$i];
     24        if (!isset($$wpvar)) {
     25                if (empty($HTTP_POST_VARS["$wpvar"])) {
     26                        if (empty($HTTP_GET_VARS["$wpvar"])) {
     27                                $$wpvar = '';
    2828                        } else {
    29                                 $$b2var = $HTTP_GET_VARS["$b2var"];
     29                                $$wpvar = $HTTP_GET_VARS["$wpvar"];
    3030                        }
    3131                } else {
    32                         $$b2var = $HTTP_POST_VARS["$b2var"];
     32                        $$wpvar = $HTTP_POST_VARS["$wpvar"];
    3333                }
    3434        }
Note: See TracChangeset for help on using the changeset viewer.