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/admin-header.php

    r617 r628  
    22
    33require_once('../wp-config.php');
    4 require_once($abspath.'/wp-admin/auth.php');
     4require_once(ABSPATH.'/wp-admin/auth.php');
    55
    66function gethelp_link($this_file, $helptag) {
     
    3030    $use_quicktags = 0;
    3131
    32 $b2varstoreset = array('profile','standalone','redirect','redirect_url','a','popuptitle','popupurl','text', 'trackback', 'pingback');
    33 for ($i=0; $i<count($b2varstoreset); $i += 1) {
    34     $b2var = $b2varstoreset[$i];
    35     if (!isset($$b2var)) {
    36         if (empty($HTTP_POST_VARS["$b2var"])) {
    37             if (empty($HTTP_GET_VARS["$b2var"])) {
    38                 $$b2var = '';
     32$wpvarstoreset = array('profile','standalone','redirect','redirect_url','a','popuptitle','popupurl','text', 'trackback', 'pingback');
     33for ($i=0; $i<count($wpvarstoreset); $i += 1) {
     34    $wpvar = $wpvarstoreset[$i];
     35    if (!isset($$wpvar)) {
     36        if (empty($HTTP_POST_VARS["$wpvar"])) {
     37            if (empty($HTTP_GET_VARS["$wpvar"])) {
     38                $$wpvar = '';
    3939            } else {
    40                 $$b2var = $HTTP_GET_VARS["$b2var"];
     40                $$wpvar = $HTTP_GET_VARS["$wpvar"];
    4141            }
    4242        } else {
    43             $$b2var = $HTTP_POST_VARS["$b2var"];
     43            $$wpvar = $HTTP_POST_VARS["$wpvar"];
    4444        }
    4545    }
Note: See TracChangeset for help on using the changeset viewer.