Bootstrap/Load: Silence ini_set() in wp_debug_mode().
Props SergeyBiryukov. Fixes #36708 for trunk. Built from https://develop.svn.wordpress.org/trunk@37448 git-svn-id: http://core.svn.wordpress.org/trunk@37416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -302,7 +302,7 @@ function wp_debug_mode() {
|
||||
}
|
||||
|
||||
if ( defined( 'XMLRPC_REQUEST' ) || defined( 'REST_REQUEST' ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
|
||||
ini_set( 'display_errors', 0 );
|
||||
@ini_set( 'display_errors', 0 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-alpha-37447';
|
||||
$wp_version = '4.6-alpha-37448';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user