Skip to content

Commit 238383d

Browse files
Docs: Document some globals in wp-admin/setup-config.php.
Follow-up to [29669], [29705], [32642], [45737], [47230], [51477]. Props upadalavipul, sabernhardt. See #60021. git-svn-id: https://develop.svn.wordpress.org/trunk@57756 602fd350-edb4-49c9-b593-d223f7449a82
1 parent ee5142e commit 238383d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/wp-admin/setup-config.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ function setup_config_display_header( $body_classes = array() ) {
116116
<?php
117117
} // End function setup_config_display_header();
118118

119+
/**
120+
* @global string $wp_local_package Locale code of the package.
121+
* @global WP_Locale $wp_locale WordPress date and time locale object.
122+
*/
119123
$language = '';
120124
if ( ! empty( $_REQUEST['language'] ) ) {
121125
$language = preg_replace( '/[^a-zA-Z0-9_]/', '', $_REQUEST['language'] );

0 commit comments

Comments
 (0)