diff --git a/wp-admin/install.php b/wp-admin/install.php index 0e30ec0c91..ec8a853c8e 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -261,10 +261,12 @@ if ( ! empty( $_REQUEST['language'] ) ) { $language = $GLOBALS['wp_local_package']; } +$scripts_to_print = array( 'jquery' ); + switch($step) { case 0: // Step 0 - if ( wp_can_install_language_pack() && empty( $language ) && ( $languages = wp_get_available_translations() ) ) { + $scripts_to_print[] = 'language-chooser'; display_header( 'language-chooser' ); echo '