Make WordPress Core

Changeset 38198


Ignore:
Timestamp:
08/04/2016 10:12:21 PM (8 years ago)
Author:
johnbillion
Message:

I18N: Correct the documented return types of get_translations_for_domain().

See #32246

File:
1 edited

Legend:

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

    r38121 r38198  
    868868 *
    869869 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    870  * @return NOOP_Translations A Translations instance.
     870 * @return Translations|NOOP_Translations A Translations instance.
    871871 */
    872872function get_translations_for_domain( $domain ) {
Note: See TracChangeset for help on using the changeset viewer.