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
This commit is contained in:
parent
b20f6ea038
commit
773dea5c08
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user