Docs: Add `@since` version for `WP_Locale_Switcher::init()`.
Props keesiemeijer. Fixes #42798. Built from https://develop.svn.wordpress.org/trunk@42395 git-svn-id: http://core.svn.wordpress.org/trunk@42224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
986e46d2c0
commit
835bec6282
|
@ -53,6 +53,8 @@ class WP_Locale_Switcher {
|
|||
* Initializes the locale switcher.
|
||||
*
|
||||
* Hooks into the {@see 'locale'} filter to change the locale on the fly.
|
||||
*
|
||||
* @since 4.7.0
|
||||
*/
|
||||
public function init() {
|
||||
add_filter( 'locale', array( $this, 'filter_locale' ) );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42394';
|
||||
$wp_version = '5.0-alpha-42395';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue