From 77a31e6875ebc31396b70f6bd2682738ab6290b6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 4 Aug 2019 01:47:55 +0000 Subject: [PATCH] Docs: Add missing description for `$wp_locale_switcher` global. See #45604, #47110. Built from https://develop.svn.wordpress.org/trunk@45738 git-svn-id: http://core.svn.wordpress.org/trunk@45549 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 956cabe9a4..d77b15ee5b 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -1570,7 +1570,7 @@ function is_rtl() { * * @since 4.7.0 * - * @global WP_Locale_Switcher $wp_locale_switcher + * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object. * * @param string $locale The locale. * @return bool True on success, false on failure. @@ -1587,7 +1587,7 @@ function switch_to_locale( $locale ) { * * @since 4.7.0 * - * @global WP_Locale_Switcher $wp_locale_switcher + * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object. * * @return string|false Locale on success, false on error. */ @@ -1603,7 +1603,7 @@ function restore_previous_locale() { * * @since 4.7.0 * - * @global WP_Locale_Switcher $wp_locale_switcher + * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object. * * @return string|false Locale on success, false on error. */ @@ -1619,7 +1619,7 @@ function restore_current_locale() { * * @since 4.7.0 * - * @global WP_Locale_Switcher $wp_locale_switcher + * @global WP_Locale_Switcher $wp_locale_switcher WordPress locale switcher object. * * @return bool True if the locale has been switched, false otherwise. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index b1b6b04fcb..3e3df36ce1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45737'; +$wp_version = '5.3-alpha-45738'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.