Changeset 696

Show
Ignore:
Timestamp:
07/20/06 11:02:38 (2 years ago)
Author:
donncha
Message:

Use wp_die()
Removed $HTTP_USER_AGENT (#93)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-settings.php

    r691 r696  
    99 
    1010        if ( isset($_REQUEST['GLOBALS']) ) 
    11                 die('GLOBALS overwrite attempt detected'); 
     11                wp_die('GLOBALS overwrite attempt detected'); 
    1212 
    1313        // Variables that shouldn't be unset 
     
    2222unregister_GLOBALS();  
    2323 
    24 $HTTP_USER_AGENT = $_SERVER[ 'HTTP_USER_AGENT' ]; 
    2524unset( $wp_filter, $cache_userdata, $cache_lastcommentmodified, $cache_lastpostdate, $cache_settings, $category_cache, $cache_categories ); 
    2625