WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:05:09 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove @static notations from method DocBlocks in wp-admin/* 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-admin/includes/class-core-upgrader.php

    r42343 r42745  
    243243     * @since 3.7.0
    244244     *
    245      * @static
    246      *
    247245     * @param string $offered_ver The offered version, of the format x.y.z.
    248246     * @return bool True if we should update to the offered version, otherwise false.
Note: See TracChangeset for help on using the changeset viewer.