WordPress.org

Make WordPress Core

Changeset 45738


Ignore:
Timestamp:
08/04/2019 01:46:34 AM (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for $wp_locale_switcher global.

See #45604, #47110.

File:
1 edited

Legend:

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

    r45737 r45738  
    15711571 * @since 4.7.0
    15721572 *
    1573  * @global WP_Locale_Switcher $wp_locale_switcher
     1573 * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.
    15741574 *
    15751575 * @param string $locale The locale.
     
    15881588 * @since 4.7.0
    15891589 *
    1590  * @global WP_Locale_Switcher $wp_locale_switcher
     1590 * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.
    15911591 *
    15921592 * @return string|false Locale on success, false on error.
     
    16041604 * @since 4.7.0
    16051605 *
    1606  * @global WP_Locale_Switcher $wp_locale_switcher
     1606 * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.
    16071607 *
    16081608 * @return string|false Locale on success, false on error.
     
    16201620 * @since 4.7.0
    16211621 *
    1622  * @global WP_Locale_Switcher $wp_locale_switcher
     1622 * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object.
    16231623 *
    16241624 * @return bool True if the locale has been switched, false otherwise.
Note: See TracChangeset for help on using the changeset viewer.