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

    r957 r1108  
    1313    $wpvar = $wpvarstoreset[$i];
    1414    if (!isset($$wpvar)) {
    15         if (empty($HTTP_POST_VARS["$wpvar"])) {
    16             if (empty($HTTP_GET_VARS["$wpvar"])) {
     15        if (empty($_POST["$wpvar"])) {
     16            if (empty($_GET["$wpvar"])) {
    1717                $$wpvar = '';
    1818            } else {
    19                 $$wpvar = $HTTP_GET_VARS["$wpvar"];
     19                $$wpvar = $_GET["$wpvar"];
    2020            }
    2121        } else {
    22             $$wpvar = $HTTP_POST_VARS["$wpvar"];
     22            $$wpvar = $_POST["$wpvar"];
    2323        }
    2424    }
Note: See TracChangeset for help on using the changeset viewer.