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

    r48100 r48109  
    12071207 *
    12081208 * @global WP_Locale $wp_locale WordPress date and time locale object.
    1209  *
    1210  * @staticvar bool $loaded
    12111209 */
    12121210function wp_load_translations_early() {
     
    13011299 * @since 4.4.0
    13021300 *
    1303  * @staticvar bool $installing
    1304  *
    13051301 * @param bool $is_installing Optional. True to set WP into Installing mode, false to turn Installing mode off.
    13061302 *                            Omit this parameter if you only want to fetch the current status.
     
    13801376 *
    13811377 * @since 4.6.0
    1382  *
    1383  * @staticvar array $ini_all
    13841378 *
    13851379 * @link https://www.php.net/manual/en/function.ini-get-all.php
Note: See TracChangeset for help on using the changeset viewer.