mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
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:
parent
528d441b24
commit
e9374ebc17
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user