Ticket #6933: no_notices_during_config_load.diff

File no_notices_during_config_load.diff, 414 bytes (added by ryan, 6 months ago)
  • wp-load.php

    old new  
    1919/** Define ABSPATH as this files directory */ 
    2020define( 'ABSPATH', dirname(__FILE__) . '/' ); 
    2121 
     22error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); 
     23 
    2224if ( file_exists( ABSPATH . 'wp-config.php') ) { 
    2325 
    2426        /** The config file resides in ABSPATH */