mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
c7a48687b5
commit
048e8a0cc0
@ -116,6 +116,10 @@ function setup_config_display_header( $body_classes = array() ) {
|
|||||||
<?php
|
<?php
|
||||||
} // End function setup_config_display_header();
|
} // 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 = '';
|
$language = '';
|
||||||
if ( ! empty( $_REQUEST['language'] ) ) {
|
if ( ! empty( $_REQUEST['language'] ) ) {
|
||||||
$language = preg_replace( '/[^a-zA-Z0-9_]/', '', $_REQUEST['language'] );
|
$language = preg_replace( '/[^a-zA-Z0-9_]/', '', $_REQUEST['language'] );
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user