Make WordPress Core

Ticket #45958: 45958.diff

File 45958.diff, 715 bytes (added by spacedmonkey, 6 years ago)
  • src/wp-includes/load.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    358358                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 );
    359359        }
    360360
    361         if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) || wp_doing_ajax() || wp_is_json_request() ) {
    362                 @ini_set( 'display_errors', 0 );
    363         }
     361        @ini_set( 'display_errors', 0 );
    364362}
    365363
    366364/**