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/link-categories.php

    r616 r628  
    88$parent_file = 'link-manager.php';
    99
    10 $b2varstoreset = array('action','standalone','cat', 'auto_toggle');
    11 for ($i=0; $i<count($b2varstoreset); $i += 1) {
    12     $b2var = $b2varstoreset[$i];
    13     if (!isset($$b2var)) {
    14         if (empty($HTTP_POST_VARS["$b2var"])) {
    15             if (empty($HTTP_GET_VARS["$b2var"])) {
    16                 $$b2var = '';
     10$wpvarstoreset = array('action','standalone','cat', 'auto_toggle');
     11for ($i=0; $i<count($wpvarstoreset); $i += 1) {
     12    $wpvar = $wpvarstoreset[$i];
     13    if (!isset($$wpvar)) {
     14        if (empty($HTTP_POST_VARS["$wpvar"])) {
     15            if (empty($HTTP_GET_VARS["$wpvar"])) {
     16                $$wpvar = '';
    1717            } else {
    18                 $$b2var = $HTTP_GET_VARS["$b2var"];
     18                $$wpvar = $HTTP_GET_VARS["$wpvar"];
    1919            }
    2020        } else {
    21             $$b2var = $HTTP_POST_VARS["$b2var"];
     21            $$wpvar = $HTTP_POST_VARS["$wpvar"];
    2222        }
    2323    }
Note: See TracChangeset for help on using the changeset viewer.