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
This commit is contained in:
Dion Hulse 2010-03-09 12:03:13 +00:00
parent 528d441b24
commit e9374ebc17
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();