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: http://svn.automattic.com/wordpress/trunk@13628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-03-09 12:03:13 +00:00
parent c21bb61eaf
commit 208f98f762
1 changed files with 2 additions and 0 deletions

View File

@ -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();