Ticket #11654: wp-settings-i18n.patch
| File wp-settings-i18n.patch, 539 bytes (added by Nao, 3 years ago) |
|---|
-
wp-settings.php
33 33 return; 34 34 35 35 if ( isset($_REQUEST['GLOBALS']) ) 36 die( 'GLOBALS overwrite attempt detected');36 die(/*WP_I18N_GLOBALS_OVERWRITE*/'GLOBALS overwrite attempt detected'/*/WP_I18N_GLOBALS_OVERWRITE*/); 37 37 38 38 // Variables that shouldn't be unset 39 39 $noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix');