Make WordPress Core

Changeset 45737


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

Docs: Add missing description for $wp_locale global.

Props mukesh27.
See #45604, #47110.

Location:
trunk/src
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-header.php

    r45611 r45737  
    1818 * @global string    $hook_suffix
    1919 * @global WP_Screen $current_screen
    20  * @global WP_Locale $wp_locale
     20 * @global WP_Locale $wp_locale          WordPress date and time locale object.
    2121 * @global string    $pagenow
    2222 * @global string    $update_title
  • trunk/src/wp-admin/export.php

    r45674 r45737  
    129129 *
    130130 * @global wpdb      $wpdb      WordPress database abstraction object.
    131  * @global WP_Locale $wp_locale Date and Time Locale object.
     131 * @global WP_Locale $wp_locale WordPress date and time locale object.
    132132 *
    133133 * @since 3.1.0
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r45734 r45737  
    537537     *
    538538     * @global wpdb      $wpdb      WordPress database abstraction object.
    539      * @global WP_Locale $wp_locale
     539     * @global WP_Locale $wp_locale WordPress date and time locale object.
    540540     *
    541541     * @param string $post_type
  • trunk/src/wp-admin/includes/media.php

    r45734 r45737  
    25292529 * @global wpdb      $wpdb            WordPress database abstraction object.
    25302530 * @global WP_Query  $wp_query
    2531  * @global WP_Locale $wp_locale
     2531 * @global WP_Locale $wp_locale       WordPress date and time locale object.
    25322532 * @global string    $type
    25332533 * @global string    $tab
  • trunk/src/wp-admin/includes/template.php

    r45723 r45737  
    758758 * @since 4.4.0 Converted to use get_comment() instead of the global `$comment`.
    759759 *
    760  * @global WP_Locale  $wp_locale
     760 * @global WP_Locale $wp_locale WordPress date and time locale object.
    761761 *
    762762 * @param int|bool $edit      Accepts 1|true for editing the date, 0|false for adding the date.
     
    19061906 * @global string    $hook_suffix
    19071907 * @global string    $admin_body_class
    1908  * @global WP_Locale $wp_locale
     1908 * @global WP_Locale $wp_locale        WordPress date and time locale object.
    19091909 *
    19101910 * @param string $title      Optional. Title of the Iframe page. Default empty.
  • trunk/src/wp-admin/install.php

    r45673 r45737  
    292292/**
    293293 * @global string    $wp_local_package
    294  * @global WP_Locale $wp_locale
     294 * @global WP_Locale $wp_locale        WordPress date and time locale object.
    295295 */
    296296$language = '';
  • trunk/src/wp-admin/options-general.php

    r45676 r45737  
    387387<?php
    388388/**
    389  * @global WP_Locale $wp_locale
     389 * @global WP_Locale $wp_locale WordPress date and time locale object.
    390390 */
    391391global $wp_locale;
  • trunk/src/wp-admin/setup-config.php

    r45676 r45737  
    8989 *
    9090 * @global string    $wp_local_package
    91  * @global WP_Locale $wp_locale
     91 * @global WP_Locale $wp_locale        WordPress date and time locale object.
    9292 *
    9393 * @param string|array $body_classes
  • trunk/src/wp-includes/class-wp-locale-switcher.php

    r44134 r45737  
    214214     * @since 4.7.0
    215215     *
    216      * @global WP_Locale $wp_locale The WordPress date and time locale object.
     216     * @global WP_Locale $wp_locale WordPress date and time locale object.
    217217     *
    218218     * @param string $locale The locale to change to.
  • trunk/src/wp-includes/customize/class-wp-customize-date-time-control.php

    r44459 r45737  
    190190     * @see touch_time()
    191191     *
    192      * @global WP_Locale $wp_locale
     192     * @global WP_Locale $wp_locale WordPress date and time locale object.
    193193     *
    194194     * @return array
  • trunk/src/wp-includes/functions.php

    r45736 r45737  
    8484 * @since 0.71
    8585 *
    86  * @global WP_Locale $wp_locale
     86 * @global WP_Locale $wp_locale WordPress date and time locale object.
    8787 *
    8888 * @param string   $dateformatstring      Format to display the date.
     
    203203 * @since 4.4.0
    204204 *
    205  * @global WP_Locale $wp_locale
     205 * @global WP_Locale $wp_locale WordPress date and time locale object.
    206206 *
    207207 * @param string $date Formatted date string.
     
    268268 * @since 2.3.0
    269269 *
    270  * @global WP_Locale $wp_locale
     270 * @global WP_Locale $wp_locale WordPress date and time locale object.
    271271 *
    272272 * @param float $number   The number to convert based on locale.
  • 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 '&raquo;'. 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.
  • trunk/src/wp-includes/l10n.php

    r45685 r45737  
    15541554 * @since 3.0.0
    15551555 *
    1556  * @global WP_Locale $wp_locale
     1556 * @global WP_Locale $wp_locale WordPress date and time locale object.
    15571557 *
    15581558 * @return bool Whether locale is RTL.
  • trunk/src/wp-includes/load.php

    r45734 r45737  
    11421142 * @access private
    11431143 *
    1144  * @global WP_Locale $wp_locale The WordPress date and time locale object.
     1144 * @global WP_Locale $wp_locale WordPress date and time locale object.
    11451145 *
    11461146 * @staticvar bool $loaded
  • trunk/src/wp-includes/media.php

    r45734 r45737  
    35623562 * @global int       $content_width
    35633563 * @global wpdb      $wpdb          WordPress database abstraction object.
    3564  * @global WP_Locale $wp_locale
     3564 * @global WP_Locale $wp_locale     WordPress date and time locale object.
    35653565 *
    35663566 * @param array $args {
  • trunk/src/wp-includes/script-loader.php

    r45730 r45737  
    21852185 * @link https://api.jqueryui.com/datepicker/#options
    21862186 *
    2187  * @global WP_Locale $wp_locale The WordPress date and time locale object.
     2187 * @global WP_Locale $wp_locale WordPress date and time locale object.
    21882188 */
    21892189function wp_localize_jquery_ui_datepicker() {
  • trunk/src/wp-includes/theme.php

    r45734 r45737  
    267267 * @since 2.1.0
    268268 *
    269  * @global WP_Locale $wp_locale
     269 * @global WP_Locale $wp_locale WordPress date and time locale object.
    270270 *
    271271 * @return string
  • trunk/src/wp-settings.php

    r45736 r45737  
    476476 * WordPress Locale object for loading locale domain date and various strings.
    477477 *
    478  * @global WP_Locale $wp_locale
     478 * @global WP_Locale $wp_locale WordPress date and time locale object.
    479479 * @since 2.1.0
    480480 */
Note: See TracChangeset for help on using the changeset viewer.