mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 13:41:24 +01:00
I18N: Add @global
entry for $wp_locale
in wp_maybe_decline_date()
.
Props Dency. Fixes #41046. Built from https://develop.svn.wordpress.org/trunk@40911 git-svn-id: http://core.svn.wordpress.org/trunk@40761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d14cc278ff
commit
e441ee48d2
@ -158,6 +158,8 @@ function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) {
|
|||||||
*
|
*
|
||||||
* @since 4.4.0
|
* @since 4.4.0
|
||||||
*
|
*
|
||||||
|
* @global WP_Locale $wp_locale
|
||||||
|
*
|
||||||
* @param string $date Formatted date string.
|
* @param string $date Formatted date string.
|
||||||
* @return string The date, declined if locale specifies it.
|
* @return string The date, declined if locale specifies it.
|
||||||
*/
|
*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-40910';
|
$wp_version = '4.9-alpha-40911';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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