WordPress.org

Make WordPress Core

Ticket #11654: globals-message-load.diff

File globals-message-load.diff, 684 bytes (added by nbachiyski, 8 years ago)
  • wp-includes/load.php

     
    1717                return;
    1818
    1919        if ( isset( $_REQUEST['GLOBALS'] ) )
    20                 die( 'GLOBALS overwrite attempt detected' );
     20                die( /*WP_I18N_GLOBALS_OVERWRITE*/'GLOBALS overwrite attempt detected'/*/WP_I18N_GLOBALS_OVERWRITE*/ );
    2121
    2222        // Variables that shouldn't be unset
    2323        $noUnset = array( 'GLOBALS', '_GET', '_POST', '_COOKIE', '_REQUEST', '_SERVER', '_ENV', '_FILES', 'table_prefix' );
     
    568568                return true;
    569569
    570570        return false;
    571 }
    572 
    573 ?>
    574  No newline at end of file
     571}
     572 No newline at end of file