From c5fd618f70900fcebb601e425b61a4877a4d6887 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@12145 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 33bd3bb65..32939d071 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.