From e16574e010f0651d1d632e7be91f2fddcd0d7e4d Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 17 May 2016 20:31:29 +0000 Subject: [PATCH] Bootstrap/Load: Silence `ini_set()` in `wp_debug_mode()`. Merge of [37448] to the 4.5 branch. Props SergeyBiryukov. Fixes #36708. Built from https://develop.svn.wordpress.org/branches/4.5@37451 git-svn-id: http://core.svn.wordpress.org/branches/4.5@37419 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/load.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/load.php b/wp-includes/load.php index 2f2d95b300..a6135be121 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -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 ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index ac66238bbb..0b676336da 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5.3-alpha-37450'; +$wp_version = '4.5.3-alpha-37451'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.