Make WordPress Core


Ignore:
Timestamp:
04/20/2004 10:56:47 PM (20 years ago)
Author:
saxmatt
Message:

Changed to superglobals, and eliminated $use_cache (since we always do).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import-blogger.php

    r784 r1108  
    55    $wpvar = $wpvarstoreset[$i];
    66    if (!isset($$wpvar)) {
    7         if (empty($HTTP_POST_VARS["$wpvar"])) {
    8             if (empty($HTTP_GET_VARS["$wpvar"])) {
     7        if (empty($_POST["$wpvar"])) {
     8            if (empty($_GET["$wpvar"])) {
    99                $$wpvar = '';
    1010            } else {
    11                 $$wpvar = $HTTP_GET_VARS["$wpvar"];
     11                $$wpvar = $_GET["$wpvar"];
    1212            }
    1313        } else {
    14             $$wpvar = $HTTP_POST_VARS["$wpvar"];
     14            $$wpvar = $_POST["$wpvar"];
    1515        }
    1616    }
Note: See TracChangeset for help on using the changeset viewer.