From a3f69ffaa3815ddf54cc886af7b6c7bbc3a91157 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 15 Dec 2017 05:08:51 +0000 Subject: [PATCH] Docs: Add missing `@staticvar` entries in `wp-includes/l10n.php`. Props birgire. Fixes #42800. Built from https://develop.svn.wordpress.org/trunk@42399 git-svn-id: http://core.svn.wordpress.org/trunk@42228 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 3 +++ wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 5f4ba59ec3..2847e4ed79 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -888,6 +888,7 @@ function _load_textdomain_just_in_time( $domain ) { * @access private * * @see _load_textdomain_just_in_time() + * @staticvar array $available_translations * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @param bool $reset Whether to reset the internal cache. Used by the switch to locale functionality. @@ -916,6 +917,7 @@ function _get_path_to_translation( $domain, $reset = false ) { * @access private * * @see _get_path_to_translation() + * @staticvar array $cached_mofiles * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @return string|false The path to the translation file or false if no translation file was found. @@ -963,6 +965,7 @@ function _get_path_to_translation_from_lang_dir( $domain ) { * @since 2.8.0 * * @global array $l10n + * @staticvar NOOP_Translations $noop_translations * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @return Translations|NOOP_Translations A Translations instance. diff --git a/wp-includes/version.php b/wp-includes/version.php index bf0b18a675..2afdb7a24d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42398'; +$wp_version = '5.0-alpha-42399'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.