WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/25/2018 07:32:24 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Document more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

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

    r42843 r42876  
    550550 * @since 1.5.0
    551551 *
    552  * @global array $l10n          An array of all currently loaded text domains.
    553  * @global array $l10n_unloaded An array of all text domains that have been unloaded again.
     552 * @global MO[] $l10n          An array of all currently loaded text domains.
     553 * @global MO[] $l10n_unloaded An array of all text domains that have been unloaded again.
    554554 *
    555555 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
     
    624624 * @since 3.0.0
    625625 *
    626  * @global array $l10n          An array of all currently loaded text domains.
    627  * @global array $l10n_unloaded An array of all text domains that have been unloaded again.
     626 * @global MO[] $l10n          An array of all currently loaded text domains.
     627 * @global MO[] $l10n_unloaded An array of all text domains that have been unloaded again.
    628628 *
    629629 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
     
    857857 *
    858858 * @see get_translations_for_domain()
    859  * @global array $l10n_unloaded An array of all text domains that have been unloaded again.
     859 * @global MO[] $l10n_unloaded An array of all text domains that have been unloaded again.
    860860 *
    861861 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
     
    965965 * @since 2.8.0
    966966 *
    967  * @global array $l10n
     967 * @global MO[] $l10n
    968968 * @staticvar NOOP_Translations $noop_translations
    969969 *
     
    990990 * @since 3.0.0
    991991 *
    992  * @global array $l10n
     992 * @global MO[] $l10n
    993993 *
    994994 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
Note: See TracChangeset for help on using the changeset viewer.