Make WordPress Core

Changeset 34482


Ignore:
Timestamp:
09/24/2015 05:42:35 AM (10 years ago)
Author:
DrewAPicture
Message:

Docs: Split the DocBlock summary for __() into a summary and description.

Also, notate the default value for the optional $domain parameter.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/l10n.php

    r33734 r34482  
    153153
    154154/**
    155  * Retrieve the translation of $text. If there is no translation,
    156  * or the text domain isn't loaded, the original text is returned.
     155 * Retrieve the translation of $text.
     156 *
     157 * If there is no translation, or the text domain isn't loaded, the original text is returned.
    157158 *
    158159 * @since 2.1.0
     
    160161 * @param string $text   Text to translate.
    161162 * @param string $domain Optional. Text domain. Unique identifier for retrieving translated strings.
     163 *                       Default 'default'.
    162164 * @return string Translated text.
    163165 */
Note: See TracChangeset for help on using the changeset viewer.