From cf9d667583299ea19ad6c00d4c92ca891c26a25b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 15 Jun 2017 12:23:55 +0000 Subject: [PATCH] I18N: Add `@global` entry for `$wp_locale` in `wp_maybe_decline_date()`. Props Dency. Fixes #41046. git-svn-id: https://develop.svn.wordpress.org/trunk@40911 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 966dcd8265..828f123491 100644 --- a/src/wp-includes/functions.php +++ b/src/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. */