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:
Sergey Biryukov 2017-12-15 00:32:46 +00:00
parent 986e46d2c0
commit 835bec6282
2 changed files with 3 additions and 1 deletions

View File

@ -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' ) );

View File

@ -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.