From 2787e0080a2e8756b3f518ddbe338fc33837a375 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 26 May 2015 18:13:25 +0000 Subject: [PATCH] Add missing doc blocks to `l10n.php` See #32444. Built from https://develop.svn.wordpress.org/trunk@32605 git-svn-id: http://core.svn.wordpress.org/trunk@32575 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 11 +++++++++++ wp-includes/version.php | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index fd9fa91e18..c2d2713bbf 100644 --- a/wp-includes/l10n.php +++ b/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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 52f06a3527..7025e7dfe1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32604'; +$wp_version = '4.3-alpha-32605'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.