From 5d37af4e0d8b9313c8507ca0509c73aea2872334 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 13 Nov 2006 17:37:41 +0000 Subject: [PATCH] Use die() not wp_die(). Props AlanJCastonguay. fixes #3357 git-svn-id: https://develop.svn.wordpress.org/trunk@4464 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index e6559bcfef..165492a725 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');