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
This commit is contained in:
parent
9338781b41
commit
cf9d667583
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user