WordPress.org

Make WordPress Core

Changeset 2769


Ignore:
Timestamp:
08/09/2005 08:00:29 PM (16 years ago)
Author:
matt
Message:

Fixes #1565

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r2768 r2769  
    55
    66// Turn register globals off - Christian Schmidt
    7 foreach ( array_merge($_REQUEST, $_SERVER, $_ENV) as $name => $value )
    8     unset($$name);
     7if ( ini_get('register_globals') )
     8    foreach ( array_merge($_REQUEST, $_SERVER, $_ENV) as $name => $value )
     9        unset($name, $value);
    910
    1011// Fix for IIS, which doesn't set REQUEST_URI
Note: See TracChangeset for help on using the changeset viewer.