Make WordPress Core


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

    r48104 r48109  
    1616 *
    1717 * @global array $wp_theme_directories
    18  * @staticvar array $_themes
    1918 *
    2019 * @param array $args {
     
    425424 *
    426425 * @global array $wp_theme_directories
    427  * @staticvar array $found_themes
    428426 *
    429427 * @param bool $force Optional. Whether to force a new directory scan. Defaults to false.
     
    12551253 *
    12561254 * @global array  $_wp_default_headers
    1257  * @staticvar object $_wp_random_header
    12581255 *
    12591256 * @return object
Note: See TracChangeset for help on using the changeset viewer.