From 835bec62825d4a71b488ecd66e58b1164f4b135a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 15 Dec 2017 00:32:46 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-locale-switcher.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-locale-switcher.php b/wp-includes/class-wp-locale-switcher.php index e111892871..c6fef2c4a4 100644 --- a/wp-includes/class-wp-locale-switcher.php +++ b/wp-includes/class-wp-locale-switcher.php @@ -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' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 024c109c5a..b3fc03a015 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.