Make WordPress Core

Changeset 37451


Ignore:
Timestamp:
05/17/2016 08:30:02 PM (7 years ago)
Author:
ocean90
Message:

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

Merge of [37448] to the 4.5 branch.

Props SergeyBiryukov.
Fixes #36708.

Location:
branches/4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5

  • branches/4.5/src/wp-includes/load.php

    r36571 r37451  
    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.