From e9374ebc175310216e9fe65cadc3063673e5670d Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 9 Mar 2010 12:03:13 +0000 Subject: [PATCH] Load WP_HTTP dependencies (translation support) for setup-config.php. Prevents a WSOD on attempted installs where external HTTP requests are blocked and/or timeout. Fixes #12514 git-svn-id: https://develop.svn.wordpress.org/trunk@13628 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/setup-config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 3972b69351..8920c67b89 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -177,6 +177,8 @@ switch($step) { // Fetch or generate keys and salts. $no_api = isset( $_POST['noapi'] ); require_once( ABSPATH . WPINC . '/plugin.php' ); + require_once( ABSPATH . WPINC . '/l10n.php' ); + require_once( ABSPATH . WPINC . '/pomo/translations.php' ); if ( ! $no_api ) { require_once( ABSPATH . WPINC . '/http.php' ); wp_fix_server_vars();