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-manager.php

    r601 r628  
    4242}
    4343
    44 $b2varstoreset = array('action','standalone','cat_id', 'linkurl', 'name', 'image',
     44$wpvarstoreset = array('action','standalone','cat_id', 'linkurl', 'name', 'image',
    4545                       'description', 'visible', 'target', 'category', 'link_id',
    4646                       'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel',
    4747                       'notes', 'linkcheck[]');
    48 for ($i=0; $i<count($b2varstoreset); $i += 1) {
    49     $b2var = $b2varstoreset[$i];
    50     if (!isset($$b2var)) {
    51         if (empty($HTTP_POST_VARS["$b2var"])) {
    52             if (empty($HTTP_GET_VARS["$b2var"])) {
    53                 $$b2var = '';
     48for ($i=0; $i<count($wpvarstoreset); $i += 1) {
     49    $wpvar = $wpvarstoreset[$i];
     50    if (!isset($$wpvar)) {
     51        if (empty($HTTP_POST_VARS["$wpvar"])) {
     52            if (empty($HTTP_GET_VARS["$wpvar"])) {
     53                $$wpvar = '';
    5454            } else {
    55                 $$b2var = $HTTP_GET_VARS["$b2var"];
     55                $$wpvar = $HTTP_GET_VARS["$wpvar"];
    5656            }
    5757        } else {
    58             $$b2var = $HTTP_POST_VARS["$b2var"];
     58            $$wpvar = $HTTP_POST_VARS["$wpvar"];
    5959        }
    6060    }
Note: See TracChangeset for help on using the changeset viewer.