Make WordPress Core

Changeset 3517 for trunk/wp-settings.php


Ignore:
Timestamp:
02/12/2006 07:53:23 AM (19 years ago)
Author:
ryan
Message:

Death to trailing tabs. Props Mark J. fixes #2405

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r3514 r3517  
    1010    // Variables that shouldn't be unset
    1111    $noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix');
    12    
     12
    1313    $input = array_merge($_GET, $_POST, $_COOKIE, $_SERVER, $_ENV, $_FILES, isset($_SESSION) && is_array($_SESSION) ? $_SESSION : array());
    1414    foreach ( $input as $k => $v )
     
    2828if ( empty( $_SERVER['REQUEST_URI'] ) ) {
    2929    $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; // Does this work under CGI?
    30    
     30
    3131    // Append the query string if it exists and isn't null
    3232    if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) {
Note: See TracChangeset for help on using the changeset viewer.