Docs: Document some globals in wp-admin/setup-config.php.

Follow-up to [29669], [29705], [32642], [45737], [47230], [51477].

Props upadalavipul, sabernhardt.
See #60021.
Built from https://develop.svn.wordpress.org/trunk@57756


git-svn-id: http://core.svn.wordpress.org/trunk@57257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-03-03 18:23:14 +00:00
parent c7a48687b5
commit 048e8a0cc0
2 changed files with 5 additions and 1 deletions

View File

@ -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'] );

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.5-beta3-57755';
$wp_version = '6.5-beta3-57756';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.