summaryrefslogtreecommitdiffstats
path: root/wp-settings.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-20 11:02:38 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-20 11:02:38 +0000
commite334b8d1f3bd837ff86984f396442956b452c6f3 (patch)
treeb5be84b7c1c9f6a393708c508ce3dd24f1b75411 /wp-settings.php
parent0afb9ed1b750e6adef8b5b6983464cd254e9bae8 (diff)
downloadwordpress-mu-e334b8d1f3bd837ff86984f396442956b452c6f3.tar.gz
wordpress-mu-e334b8d1f3bd837ff86984f396442956b452c6f3.tar.xz
wordpress-mu-e334b8d1f3bd837ff86984f396442956b452c6f3.zip
Use wp_die()
Removed $HTTP_USER_AGENT (#93) git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@696 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-settings.php')
-rw-r--r--wp-settings.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/wp-settings.php b/wp-settings.php
index 9e05a1b..6015cc3 100644
--- a/wp-settings.php
+++ b/wp-settings.php
@@ -8,7 +8,7 @@ function unregister_GLOBALS() {
return;
if ( isset($_REQUEST['GLOBALS']) )
- die('GLOBALS overwrite attempt detected');
+ wp_die('GLOBALS overwrite attempt detected');
// Variables that shouldn't be unset
$noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix');
@@ -21,7 +21,6 @@ function unregister_GLOBALS() {
unregister_GLOBALS();
-$HTTP_USER_AGENT = $_SERVER[ 'HTTP_USER_AGENT' ];
unset( $wp_filter, $cache_userdata, $cache_lastcommentmodified, $cache_lastpostdate, $cache_settings, $category_cache, $cache_categories );
if ( ! isset($blog_id) )