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:
@@ -86,10 +86,10 @@ function setup_config_display_header( $body_classes = array() ) {
|
||||
switch($step) {
|
||||
case -1:
|
||||
|
||||
if ( empty( $_GET['language'] ) && ( $body = wp_get_available_translations() ) ) {
|
||||
if ( empty( $_GET['language'] ) && ( $languages = wp_get_available_translations_from_api() ) ) {
|
||||
setup_config_display_header( 'language-chooser' );
|
||||
echo '<form id="setup" method="post" action="?step=0">';
|
||||
wp_install_language_form( $body );
|
||||
wp_install_language_form( $languages );
|
||||
echo '</form>';
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user