WordPress.org

Make WordPress Core

Changeset 37448


Ignore:
Timestamp:
05/17/2016 08:21:33 PM (4 years ago)
Author:
swissspidy
Message:

Bootstrap/Load: Silence ini_set() in wp_debug_mode().

Props SergeyBiryukov.
Fixes #36708 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r37431 r37448  
    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}
Note: See TracChangeset for help on using the changeset viewer.