From e441ee48d2226e7bcb07b69be56f5cfcd5bf92b4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 15 Jun 2017 12:24:41 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 966dcd8265..828f123491 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -158,6 +158,8 @@ function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) { * * @since 4.4.0 * + * @global WP_Locale $wp_locale + * * @param string $date Formatted date string. * @return string The date, declined if locale specifies it. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index e61bd12fe9..8a711f70f0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.