[wp-trac] [WordPress Trac] #29487: wp_install_language_form(): Default language should reflect $wp_local_package
WordPress Trac
noreply at wordpress.org
Thu Sep 4 03:54:16 UTC 2014
#29487: wp_install_language_form(): Default language should reflect
$wp_local_package
-------------------------------------------+--------------------
Reporter: tenpura | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: I18N | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit dev-reviewed | Focuses:
-------------------------------------------+--------------------
Comment (by tenpura):
If a wp-config.php already exists, it won't skip the language chooser.
Probably additional '''$step = 1;''' is needed?
In install.php:
{{{
if ( ! empty( $_REQUEST['language'] ) ) {
$langugage = preg_replace( '/[^a-zA-Z_]/', '',
$_REQUEST['language'] );
} elseif ( isset( $GLOBALS['wp_local_package'] ) ) {
$language = $GLOBALS['wp_local_package'];
$step = 1;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29487#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list