Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:21:37 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove @static notations from method DocBlocks in wp-includes/* classes.

This tag has been used in the past, but should no longer be used. Just using the static keyword in code is enough for PhpDocumentor on PHP5+ to recognize static variables and methods, and PhpDocumentor will mark them as static.

Props birgire.
See #42803.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r42682 r42746  
    440440     *
    441441     * @since 4.6.0
    442      * @static
    443442     *
    444443     * @param array $cookies List of cookies to send with the request.
     
    467466     *
    468467     * @since 4.6.0
    469      * @static
    470468     *
    471469     * @param string            $location URL to redirect to.
     
    643641     * Parses the responses and splits the parts into headers and body.
    644642     *
    645      * @static
    646643     * @since 2.7.0
    647644     *
     
    664661     * headers as the values. No headers must be passed that were already processed.
    665662     *
    666      * @static
    667663     * @since 2.7.0
    668664     *
     
    752748     *
    753749     * @since 2.8.0
    754      * @static
    755750     *
    756751     * @param array $r Full array of args passed into ::request()
     
    788783     *
    789784     * @since 2.7.0
    790      * @static
    791785     *
    792786     * @param string $body Body content
     
    922916     * @since 3.4.0
    923917     *
    924      * @static
    925      *
    926918     * @param string $maybe_relative_path The URL which might be relative
    927919     * @param string $url                 The URL which $maybe_relative_path is relative to
     
    997989     *
    998990     * @since 3.7.0
    999      * @static
    1000991     *
    1001992     * @param string $url The URL which was requested.
     
    10591050     *
    10601051     * @since 3.7.0
    1061      * @static
    10621052     *
    10631053     * @param string $maybe_ip A suspected IP address
Note: See TracChangeset for help on using the changeset viewer.