From f3aae9bc0086a6127e28d02ee601616885a1d699 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 5 Nov 2009 18:01:57 +0000 Subject: [PATCH] Disable error reporting in setup-config.php. It doesn't load wp-settings.php so error reporting is not properly setup. fixes #11084 git-svn-id: https://develop.svn.wordpress.org/trunk@12145 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/setup-config.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 33bd3bb65a..32939d0717 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -16,6 +16,14 @@ */ define('WP_INSTALLING', true); +/** + * Disable error reporting + * + * Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) f +or debugging + */ +error_reporting(0); + /**#@+ * These three defines are required to allow us to use require_wp_db() to load * the database class while being wp-content/db.php aware.