WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:38:55 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Docs: Remove @staticvar tags from core.

The tag was supported in phpDocumentor 1.x, but is no longer supported in 2.x and 3.x.

Usage of static variables is considered an internal implementation detail and has no information value for someone reading the docs.

Props alishanvr, jrf.
Fixes #50426.

File:
1 edited

Legend:

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

    r47550 r48109  
    11521152 *
    11531153 * @see _load_textdomain_just_in_time()
    1154  * @staticvar array $available_translations
    11551154 *
    11561155 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
     
    11811180 *
    11821181 * @see _get_path_to_translation()
    1183  * @staticvar array $cached_mofiles
    11841182 *
    11851183 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
     
    12291227 *
    12301228 * @global MO[] $l10n
    1231  * @staticvar NOOP_Translations $noop_translations
    12321229 *
    12331230 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
Note: See TracChangeset for help on using the changeset viewer.