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:
Sergey Biryukov 2017-06-15 12:24:41 +00:00
parent d14cc278ff
commit e441ee48d2
2 changed files with 3 additions and 1 deletions

View File

@ -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.
*/ */

View File

@ -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.