summaryrefslogtreecommitdiffstats
path: root/wp-admin/setup-config.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wp-admin/setup-config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php
index ddcb494..5fd805e 100644
--- a/wp-admin/setup-config.php
+++ b/wp-admin/setup-config.php
@@ -116,6 +116,10 @@ function setup_config_display_header( $body_classes = array() ) {
<?php
} // End function setup_config_display_header();
+/**
+ * @global string $wp_local_package Locale code of the package.
+ * @global WP_Locale $wp_locale WordPress date and time locale object.
+ */
$language = '';
if ( ! empty( $_REQUEST['language'] ) ) {
$language = preg_replace( '/[^a-zA-Z0-9_]/', '', $_REQUEST['language'] );