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:
parent
997227c59a
commit
5d37af4e0d
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user