Docs: Add missing description for $wp_locale_switcher
global.
See #45604, #47110. git-svn-id: https://develop.svn.wordpress.org/trunk@45738 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1e6420ba55
commit
5af994b4ed
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user