WordPress.org

Make WordPress Core

Ticket #36708: 36708.patch

File 36708.patch, 414 bytes (added by SergeyBiryukov, 5 years ago)
  • src/wp-includes/load.php

     
    302302        }
    303303
    304304        if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
    305                 ini_set( 'display_errors', 0 );
     305                @ini_set( 'display_errors', 0 );
    306306        }
    307307}
    308308