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/class-http.php

    r48102 r48109  
    560560     * @see WP_Http::request()
    561561     *
    562      * @staticvar array $transports
    563      *
    564562     * @param string $url URL to Request.
    565563     * @param array $args Request arguments.
     
    851849     * @link https://core.trac.wordpress.org/ticket/14636 Allow wildcard domains in WP_ACCESSIBLE_HOSTS
    852850     *
    853      * @staticvar array|null $accessible_hosts
    854      * @staticvar array      $wildcard_regex
    855      *
    856851     * @param string $uri URI of url.
    857852     * @return bool True to block, false to allow.
Note: See TracChangeset for help on using the changeset viewer.