Skip to content

Commit e9374eb

Browse files
committed
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
1 parent 528d441 commit e9374eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wp-admin/setup-config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ function display_header() {
177177
// Fetch or generate keys and salts.
178178
$no_api = isset( $_POST['noapi'] );
179179
require_once( ABSPATH . WPINC . '/plugin.php' );
180+
require_once( ABSPATH . WPINC . '/l10n.php' );
181+
require_once( ABSPATH . WPINC . '/pomo/translations.php' );
180182
if ( ! $no_api ) {
181183
require_once( ABSPATH . WPINC . '/http.php' );
182184
wp_fix_server_vars();

0 commit comments

Comments
 (0)