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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-11-13 17:37:41 +00:00
parent 1d8d18022e
commit 79d9f41663
1 changed files with 1 additions and 1 deletions

View File

@ -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');