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/import-blogger.php

    r617 r628  
    11<?php // rename this to blogger-2-b2.php
    22
    3 $b2varstoreset = array('action');
    4 for ($i=0; $i<count($b2varstoreset); $i += 1) {
    5     $b2var = $b2varstoreset[$i];
    6     if (!isset($$b2var)) {
    7         if (empty($HTTP_POST_VARS["$b2var"])) {
    8             if (empty($HTTP_GET_VARS["$b2var"])) {
    9                 $$b2var = '';
     3$wpvarstoreset = array('action');
     4for ($i=0; $i<count($wpvarstoreset); $i += 1) {
     5    $wpvar = $wpvarstoreset[$i];
     6    if (!isset($$wpvar)) {
     7        if (empty($HTTP_POST_VARS["$wpvar"])) {
     8            if (empty($HTTP_GET_VARS["$wpvar"])) {
     9                $$wpvar = '';
    1010            } else {
    11                 $$b2var = $HTTP_GET_VARS["$b2var"];
     11                $$wpvar = $HTTP_GET_VARS["$wpvar"];
    1212            }
    1313        } else {
    14             $$b2var = $HTTP_POST_VARS["$b2var"];
     14            $$wpvar = $HTTP_POST_VARS["$wpvar"];
    1515        }
    1616    }
     
    2222
    2323    require_once('../wp-config.php');
    24     require_once($abspath.$b2inc.'/template-functions.php');
    25     require_once($abspath.$b2inc.'/functions.php');
    26     require_once($abspath.$b2inc.'/vars.php');
     24    require_once(ABSPATH.WPINC.'/template-functions.php');
     25    require_once(ABSPATH.WPINC.'/functions.php');
     26    require_once(ABSPATH.WPINC.'/vars.php');
    2727
    2828?>
Note: See TracChangeset for help on using the changeset viewer.