diff --git a/wp-load.php b/wp-load.php index a5a0b21681..ccaffd5106 100644 --- a/wp-load.php +++ b/wp-load.php @@ -19,6 +19,8 @@ /** Define ABSPATH as this files directory */ define( 'ABSPATH', dirname(__FILE__) . '/' ); +error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); + if ( file_exists( ABSPATH . 'wp-config.php') ) { /** The config file resides in ABSPATH */