From ef5e962cfbe074c6ab39aa46b6e0d8511e22dd81 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 1 Jul 2014 15:28:55 +0000 Subject: [PATCH] Add @since for get_translations_for_domain(). props DrewAPicture. see #28690. git-svn-id: https://develop.svn.wordpress.org/trunk@28938 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index 23642f02f9..4d239487ca 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -679,6 +679,8 @@ function load_child_theme_textdomain( $domain, $path = false ) { * * If there isn't one, returns empty Translations instance. * + * @since 2.8.0 + * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @return Translations A Translations instance. */ @@ -694,6 +696,7 @@ function get_translations_for_domain( $domain ) { * Whether there are translations for the text domain. * * @since 3.0.0 + * * @param string $domain Text domain. Unique identifier for retrieving translated strings. * @return bool Whether there are translations. */