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

Props SergeyBiryukov.
Fixes #36708 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@37448 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pascal Birchler 2016-05-17 20:21:33 +00:00
parent ead6585754
commit e7d31d1641
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ function wp_debug_mode() {
} }
if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
ini_set( 'display_errors', 0 ); @ini_set( 'display_errors', 0 );
} }
} }