Make WordPress Core


Ignore:
Timestamp:
07/07/2014 09:48:50 PM (10 years ago)
Author:
nacin
Message:

Language on install: Docs and naming cleanups. see #28577.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/setup-config.php

    r29015 r29018  
    8787    case -1:
    8888
    89         if ( empty( $_GET['language'] ) && ( $body = wp_get_available_translations() ) ) {
     89        if ( empty( $_GET['language'] ) && ( $languages = wp_get_available_translations_from_api() ) ) {
    9090            setup_config_display_header( 'language-chooser' );
    9191            echo '<form id="setup" method="post" action="?step=0">';
    92             wp_install_language_form( $body );
     92            wp_install_language_form( $languages );
    9393            echo '</form>';
    9494            break;
Note: See TracChangeset for help on using the changeset viewer.