[wp-trac] [WordPress Trac] #28804: Installing in en_US prompts for language selection a second time
WordPress Trac
noreply at wordpress.org
Wed Jul 9 23:28:24 UTC 2014
#28804: Installing in en_US prompts for language selection a second time
--------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: I18N | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-------------------------
Performing a fresh install with no pre-existing wp-config.php will prompt
you to select a language as the first step.
If you stick with "English (United States)" you'll be prompted a second
time to choose a language when you get to install.php. This is due to an
empty string present in `$_REQUEST['language']` on setup-config.php which
means [https://core.trac.wordpress.org/browser/trunk/src/wp-admin/setup-
config.php#L177 wp_install_load_language() fails] and therefore
[https://core.trac.wordpress.org/browser/trunk/src/wp-admin/setup-
config.php#L189 doesn't populate the language query var] in the link to
install.php.
We might need to explicitly use `en_US` when installing in American
English to avoid ambiguity with not having selected a language.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28804>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list