mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
Docs: Move locale
filter documentation to the canonical place.
See #51800. Built from https://develop.svn.wordpress.org/trunk@49859 git-svn-id: http://core.svn.wordpress.org/trunk@49578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5550b5fd6a
commit
1d3fd41977
@ -31,13 +31,7 @@ function get_locale() {
|
||||
global $locale, $wp_local_package;
|
||||
|
||||
if ( isset( $locale ) ) {
|
||||
/**
|
||||
* Filters the locale ID of the WordPress installation.
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @param string $locale The locale ID.
|
||||
*/
|
||||
/** This filter is documented in wp-includes/l10n.php */
|
||||
return apply_filters( 'locale', $locale );
|
||||
}
|
||||
|
||||
@ -76,7 +70,13 @@ function get_locale() {
|
||||
$locale = 'en_US';
|
||||
}
|
||||
|
||||
/** This filter is documented in wp-includes/l10n.php */
|
||||
/**
|
||||
* Filters the locale ID of the WordPress installation.
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @param string $locale The locale ID.
|
||||
*/
|
||||
return apply_filters( 'locale', $locale );
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-alpha-49858';
|
||||
$wp_version = '5.7-alpha-49859';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user