WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/04/2014 02:38:17 PM (5 years ago)
Author:
nacin
Message:

i18n: Skip language chooser for localized packages.

Also fixes the install.php welcome string, which was not bring printed.

fixes #29487.

File:
1 edited

Legend:

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

    r29673 r29705  
    9191if ( ! empty( $_REQUEST['language'] ) ) {
    9292    $language = preg_replace( '/[^a-zA-Z_]/', '', $_REQUEST['language'] );
     93} elseif ( isset( $GLOBALS['wp_local_package'] ) ) {
     94    $language = $GLOBALS['wp_local_package'];
    9395}
     96
    9497switch($step) {
    9598    case -1:
Note: See TracChangeset for help on using the changeset viewer.