mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user