mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
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:
parent
1d8d18022e
commit
79d9f41663
@ -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