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/taxonomy.php

    r48104 r48109  
    30873087 * @since 2.5.0
    30883088 *
    3089  * @staticvar bool $_defer
    3090  *
    30913089 * @param bool $defer Optional. Enable if true, disable if false.
    30923090 * @return bool Whether term counting is enabled or disabled.
     
    31163114 *
    31173115 * @since 2.3.0
    3118  *
    3119  * @staticvar array $_deferred
    31203116 *
    31213117 * @param int|array $terms       The term_taxonomy_id of the terms.
Note: See TracChangeset for help on using the changeset viewer.