From 181071079820c1a6bf1adc2ee101348fee0c705e Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 24 Sep 2015 05:42:35 +0000 Subject: [PATCH] Docs: Split the DocBlock summary for `__()` into a summary and description. Also, notate the default value for the optional `$domain` parameter. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@34482 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/l10n.php b/src/wp-includes/l10n.php index 85a020d804..64c844a0fb 100644 --- a/src/wp-includes/l10n.php +++ b/src/wp-includes/l10n.php @@ -152,13 +152,15 @@ function translate_with_gettext_context( $text, $context, $domain = 'default' ) } /** - * Retrieve the translation of $text. If there is no translation, - * or the text domain isn't loaded, the original text is returned. + * Retrieve the translation of $text. + * + * If there is no translation, or the text domain isn't loaded, the original text is returned. * * @since 2.1.0 * * @param string $text Text to translate. * @param string $domain Optional. Text domain. Unique identifier for retrieving translated strings. + * Default 'default'. * @return string Translated text. */ function __( $text, $domain = 'default' ) {