Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:38:55 PM (5 years 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/comment.php

    r48104 r48109  
    24672467 * @since 2.5.0
    24682468 *
    2469  * @staticvar bool $_defer
    2470  *
    24712469 * @param bool $defer
    24722470 * @return bool
     
    25002498 *
    25012499 * @see wp_update_comment_count_now() For what could cause a false return value
    2502  *
    2503  * @staticvar array $_deferred
    25042500 *
    25052501 * @param int|null $post_id     Post ID.
Note: See TracChangeset for help on using the changeset viewer.