Make WordPress Core


Ignore:
Timestamp:
08/04/2019 01:45:03 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for $wp_locale global.

Props mukesh27.
See #45604, #47110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r45735 r45737  
    11751175 * @since 1.0.0
    11761176 *
    1177  * @global WP_Locale $wp_locale
     1177 * @global WP_Locale $wp_locale WordPress date and time locale object.
    11781178 *
    11791179 * @param string $sep         Optional, default is '»'. How to separate the various items
     
    14961496 * @since 0.71
    14971497 *
    1498  * @global WP_Locale $wp_locale
     1498 * @global WP_Locale $wp_locale WordPress date and time locale object.
    14991499 *
    15001500 * @param string $prefix  Optional. What to display before the title.
     
    17731773 *
    17741774 * @global wpdb      $wpdb      WordPress database abstraction object.
    1775  * @global WP_Locale $wp_locale
     1775 * @global WP_Locale $wp_locale WordPress date and time locale object.
    17761776 *
    17771777 * @param string|array $args {
     
    20462046 * @global int       $monthnum
    20472047 * @global int       $year
    2048  * @global WP_Locale $wp_locale
     2048 * @global WP_Locale $wp_locale WordPress date and time locale object.
    20492049 * @global array     $posts
    20502050 *
     
    26862686 * @since 0.71
    26872687 *
    2688  * @global WP_Locale $wp_locale The WordPress date and time locale object.
     2688 * @global WP_Locale $wp_locale WordPress date and time locale object.
    26892689 */
    26902690function the_weekday() {
     
    27172717 * @since 0.71
    27182718 *
    2719  * @global WP_Locale $wp_locale       The WordPress date and time locale object.
     2719 * @global WP_Locale $wp_locale       WordPress date and time locale object.
    27202720 * @global string    $currentday      The day of the current post in the loop.
    27212721 * @global string    $previousweekday The day of the previous post in the loop.
Note: See TracChangeset for help on using the changeset viewer.