Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030.

git-svn-id: https://develop.svn.wordpress.org/trunk@14361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-05-03 06:28:05 +00:00
parent d5e5ccdd72
commit 7ce20b12cf
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ define('WP_SETUP_CONFIG', true);
*
* Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
*/
error_reporting(0);
error_reporting(E_ALL &~ E_DEPRECATED);
/**#@+
* These three defines are required to allow us to use require_wp_db() to load