From 773dea5c088dba8783de0bb069b4448b767400d1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 15 Dec 2017 05:07:13 +0000 Subject: [PATCH] Docs: Add missing `@staticvar` entries in `wp-includes/l10n.php`. Props birgire. Fixes #42800. git-svn-id: https://develop.svn.wordpress.org/trunk@42399 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index 5f4ba59ec3..2847e4ed79 100644 --- a/src/wp-includes/l10n.php +++ b/src/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.