Make WordPress Core

Ticket #37358: 37358.patch

File 37358.patch, 693 bytes (added by johnbillion, 8 years ago)
  • src/wp-includes/load.php

     
    334334                error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );
    335335        }
    336336
    337         if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
     337        if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) ) {
    338338                @ini_set( 'display_errors', 0 );
    339339        }
    340340}