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
This commit is contained in:
Sergey Biryukov 2017-12-15 05:08:51 +00:00
parent ff89ce1879
commit a3f69ffaa3
2 changed files with 4 additions and 1 deletions

View File

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

View File

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