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
This commit is contained in:
Drew Jaynes 2015-09-24 05:43:26 +00:00
parent 90f61eff52
commit f64c19aa95
2 changed files with 5 additions and 3 deletions

View File

@ -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' ) {

View File

@ -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.