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:
parent
c21bb61eaf
commit
208f98f762
|
@ -177,6 +177,8 @@ switch($step) {
|
||||||
// Fetch or generate keys and salts.
|
// Fetch or generate keys and salts.
|
||||||
$no_api = isset( $_POST['noapi'] );
|
$no_api = isset( $_POST['noapi'] );
|
||||||
require_once( ABSPATH . WPINC . '/plugin.php' );
|
require_once( ABSPATH . WPINC . '/plugin.php' );
|
||||||
|
require_once( ABSPATH . WPINC . '/l10n.php' );
|
||||||
|
require_once( ABSPATH . WPINC . '/pomo/translations.php' );
|
||||||
if ( ! $no_api ) {
|
if ( ! $no_api ) {
|
||||||
require_once( ABSPATH . WPINC . '/http.php' );
|
require_once( ABSPATH . WPINC . '/http.php' );
|
||||||
wp_fix_server_vars();
|
wp_fix_server_vars();
|
||||||
|
|
Loading…
Reference in New Issue