Ticket #11654: globals-message-load.diff
| File globals-message-load.diff, 684 bytes (added by nbachiyski, 3 years ago) |
|---|
-
wp-includes/load.php
17 17 return; 18 18 19 19 if ( isset( $_REQUEST['GLOBALS'] ) ) 20 die( 'GLOBALS overwrite attempt detected');20 die( /*WP_I18N_GLOBALS_OVERWRITE*/'GLOBALS overwrite attempt detected'/*/WP_I18N_GLOBALS_OVERWRITE*/ ); 21 21 22 22 // Variables that shouldn't be unset 23 23 $noUnset = array( 'GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix' ); … … 568 568 return true; 569 569 570 570 return false; 571 } 572 573 ?> 574 No newline at end of file 571 } 572 No newline at end of file
