WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/02/2014 06:06:36 PM (5 years ago)
Author:
ocean90
Message:

Install: Only show the language chooser when we have access to the filesystem without asking for credentials.

fixes #29397.

File:
1 edited

Legend:

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

    r29670 r29673  
    9494switch($step) {
    9595    case -1:
    96         if ( empty( $language ) && ( $languages = wp_get_available_translations() ) ) {
     96        if ( wp_can_install_language_pack() && empty( $language ) && ( $languages = wp_get_available_translations() ) ) {
    9797            setup_config_display_header( 'language-chooser' );
    9898            echo '<form id="setup" method="post" action="?step=0">';
Note: See TracChangeset for help on using the changeset viewer.