From 79d9f4166309a7bd89c74c7249e62e7fbbe2a156 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 13 Nov 2006 17:37:41 +0000 Subject: [PATCH] Use die() not wp_die(). Props AlanJCastonguay. fixes #3357 git-svn-id: http://svn.automattic.com/wordpress/trunk@4464 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index e6559bcfe..165492a72 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -5,7 +5,7 @@ function wp_unregister_GLOBALS() { return; if ( isset($_REQUEST['GLOBALS']) ) - wp_die('GLOBALS overwrite attempt detected'); + die('GLOBALS overwrite attempt detected'); // Variables that shouldn't be unset $noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix');