WordPress.org

Make WordPress Core

Ticket #11654: wp-settings-i18n.patch

File wp-settings-i18n.patch, 539 bytes (added by Nao, 5 years ago)
  • wp-settings.php

     
    3333                return; 
    3434 
    3535        if ( isset($_REQUEST['GLOBALS']) ) 
    36                 die('GLOBALS overwrite attempt detected'); 
     36                die(/*WP_I18N_GLOBALS_OVERWRITE*/'GLOBALS overwrite attempt detected'/*/WP_I18N_GLOBALS_OVERWRITE*/); 
    3737 
    3838        // Variables that shouldn't be unset 
    3939        $noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix');