From f64c19aa950f03f3e69b125dcecd8b8da2361029 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 24 Sep 2015 05:43:26 +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. Built from https://develop.svn.wordpress.org/trunk@34482 git-svn-id: http://core.svn.wordpress.org/trunk@34446 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 6 ++++-- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 85a020d804..64c844a0fb 100644 --- a/wp-includes/l10n.php +++ b/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' ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 4a4061229c..797944e067 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34481'; +$wp_version = '4.4-alpha-34482'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.