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
This commit is contained in:
Scott Taylor 2015-05-26 18:13:25 +00:00
parent 8f9a7c4f83
commit 2787e0080a
2 changed files with 12 additions and 1 deletions

View File

@ -21,6 +21,9 @@
* *
* @since 1.5.0 * @since 1.5.0
* *
* @global string $locale
* @global string $wp_local_package
*
* @return string The locale of the blog or from the 'locale' hook. * @return string The locale of the blog or from the 'locale' hook.
*/ */
function get_locale() { function get_locale() {
@ -431,6 +434,8 @@ function translate_nooped_plural( $nooped_plural, $count, $domain = 'default' )
* *
* @since 1.5.0 * @since 1.5.0
* *
* @global array $l10n
*
* @param string $domain Text domain. Unique identifier for retrieving translated strings. * @param string $domain Text domain. Unique identifier for retrieving translated strings.
* @param string $mofile Path to the .mo file. * @param string $mofile Path to the .mo file.
* @return bool True on success, false on failure. * @return bool True on success, false on failure.
@ -491,6 +496,8 @@ function load_textdomain( $domain, $mofile ) {
* *
* @since 3.0.0 * @since 3.0.0
* *
* @global array $l10n
*
* @param string $domain Text domain. Unique identifier for retrieving translated strings. * @param string $domain Text domain. Unique identifier for retrieving translated strings.
* @return bool Whether textdomain was unloaded. * @return bool Whether textdomain was unloaded.
*/ */
@ -704,6 +711,8 @@ function load_child_theme_textdomain( $domain, $path = false ) {
* *
* @since 2.8.0 * @since 2.8.0
* *
* @global array $l10n
*
* @param string $domain Text domain. Unique identifier for retrieving translated strings. * @param string $domain Text domain. Unique identifier for retrieving translated strings.
* @return NOOP_Translations A Translations instance. * @return NOOP_Translations A Translations instance.
*/ */
@ -720,6 +729,8 @@ function get_translations_for_domain( $domain ) {
* *
* @since 3.0.0 * @since 3.0.0
* *
* @global array $l10n
*
* @param string $domain Text domain. Unique identifier for retrieving translated strings. * @param string $domain Text domain. Unique identifier for retrieving translated strings.
* @return bool Whether there are translations. * @return bool Whether there are translations.
*/ */

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.