From cb1cf9e1ac4584671682c049f826a108f5332306 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 26 May 2015 18:12:15 +0000 Subject: [PATCH] Add missing doc blocks to `l10n.php` See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32605 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index fd9fa91e18..c2d2713bbf 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -21,6 +21,9 @@ * * @since 1.5.0 * + * @global string $locale + * @global string $wp_local_package + * * @return string The locale of the blog or from the 'locale' hook. */ function get_locale() { @@ -431,6 +434,8 @@ function translate_nooped_plural( $nooped_plural, $count, $domain = 'default' ) * * @since 1.5.0 * + * @global array $l10n + * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @param string $mofile Path to the .mo file. * @return bool True on success, false on failure. @@ -491,6 +496,8 @@ function load_textdomain( $domain, $mofile ) { * * @since 3.0.0 * + * @global array $l10n + * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @return bool Whether textdomain was unloaded. */ @@ -704,6 +711,8 @@ function load_child_theme_textdomain( $domain, $path = false ) { * * @since 2.8.0 * + * @global array $l10n + * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @return NOOP_Translations A Translations instance. */ @@ -720,6 +729,8 @@ function get_translations_for_domain( $domain ) { * * @since 3.0.0 * + * @global array $l10n + * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @return bool Whether there are translations. */