mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Language on install: Docs and naming cleanups. see #28577.
git-svn-id: https://develop.svn.wordpress.org/trunk@29018 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -179,10 +179,10 @@ if ( ! is_string( $wpdb->base_prefix ) || '' === $wpdb->base_prefix ) {
|
||||
switch($step) {
|
||||
case 0: // Step 0
|
||||
|
||||
if ( empty( $_GET['language'] ) && ( $body = wp_get_available_translations() ) ) {
|
||||
if ( empty( $_GET['language'] ) && ( $languages = wp_get_available_translations_from_api() ) ) {
|
||||
display_header( 'language-chooser' );
|
||||
echo '<form id="setup" method="post" action="?step=1">';
|
||||
wp_install_language_form( $body );
|
||||
wp_install_language_form( $languages );
|
||||
echo '</form>';
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user