Docs: Add missing description for $wp_locale global.

Props mukesh27.
See #45604, #47110.

git-svn-id: https://develop.svn.wordpress.org/trunk@45737 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-08-04 01:45:03 +00:00
parent 914509f940
commit 1e6420ba55
18 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -83,7 +83,7 @@ function current_time( $type, $gmt = 0 ) {
*
* @since 0.71
*
* @global WP_Locale $wp_locale
* @global WP_Locale $wp_locale WordPress date and time locale object.
*
* @param string $dateformatstring Format to display the date.
* @param int|bool $timestamp_with_offset Optional. A sum of Unix timestamp and timezone offset in seconds.
@@ -202,7 +202,7 @@ function date_i18n( $dateformatstring, $timestamp_with_offset = false, $gmt = fa
*
* @since 4.4.0
*
* @global WP_Locale $wp_locale
* @global WP_Locale $wp_locale WordPress date and time locale object.
*
* @param string $date Formatted date string.
* @return string The date, declined if locale specifies it.
@@ -267,7 +267,7 @@ function wp_maybe_decline_date( $date ) {
*
* @since 2.3.0
*
* @global WP_Locale $wp_locale
* @global WP_Locale $wp_locale WordPress date and time locale object.
*
* @param float $number The number to convert based on locale.
* @param int $decimals Optional. Precision of the number of decimal places. Default 0.