WordPress.org

Make WordPress Core

Changeset 29058


Ignore:
Timestamp:
07/10/14 09:24:55 (3 years ago)
Author:
nacin
Message:

Install: Don't ask for the user's language a second time if they chose English originally.

see #28577.

File:
1 edited

Legend:

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

    r29032 r29058  
    187187        $step_1 .= '&noapi'; 
    188188    } 
     189 
    189190    if ( $loaded_language ) { 
    190191        $step_1 .= '&language=' . $loaded_language; 
    191192        $install .= '?language=' . $loaded_language; 
    192     } 
     193    } else { 
     194        $install .= '?language=en_US'; 
     195    } 
     196 
    193197    $tryagain_link = '</p><p class="step"><a href="' . $step_1 . '" onclick="javascript:history.go(-1);return false;" class="button button-large">' . __( 'Try again' ) . '</a>'; 
    194198 
Note: See TracChangeset for help on using the changeset viewer.