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
This commit is contained in:
Sergey Biryukov 2019-08-04 01:47:55 +00:00
parent e0311b76c7
commit 77a31e6875
2 changed files with 5 additions and 5 deletions

View File

@ -1570,7 +1570,7 @@ function is_rtl() {
* *
* @since 4.7.0 * @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. * @param string $locale The locale.
* @return bool True on success, false on failure. * @return bool True on success, false on failure.
@ -1587,7 +1587,7 @@ function switch_to_locale( $locale ) {
* *
* @since 4.7.0 * @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. * @return string|false Locale on success, false on error.
*/ */
@ -1603,7 +1603,7 @@ function restore_previous_locale() {
* *
* @since 4.7.0 * @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. * @return string|false Locale on success, false on error.
*/ */
@ -1619,7 +1619,7 @@ function restore_current_locale() {
* *
* @since 4.7.0 * @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. * @return bool True if the locale has been switched, false otherwise.
*/ */

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.