Use die() not wp_die(). Props AlanJCastonguay. fixes #3357

git-svn-id: https://develop.svn.wordpress.org/trunk@4464 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-11-13 17:37:41 +00:00
parent 997227c59a
commit 5d37af4e0d

View File

@ -5,7 +5,7 @@ function wp_unregister_GLOBALS() {
return; return;
if ( isset($_REQUEST['GLOBALS']) ) if ( isset($_REQUEST['GLOBALS']) )
wp_die('GLOBALS overwrite attempt detected'); die('GLOBALS overwrite attempt detected');
// Variables that shouldn't be unset // Variables that shouldn't be unset
$noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix'); $noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix');