WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:21:37 PM (2 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-wp-theme.php

    r42734 r42746  
    12111211     * @since 3.4.0
    12121212     *
    1213      * @static
    1214      *
    12151213     * @param string            $path          Absolute path to search.
    12161214     * @param array|string|null $extensions    Optional. Array of extensions to find, string of a single extension,
     
    13621360     *
    13631361     * @since 3.4.0
    1364      *
    1365      * @static
    13661362     *
    13671363     * @param int $blog_id Optional. ID of the site. Defaults to the current site.
     
    13891385     * @since 3.4.0
    13901386     *
    1391      * @static
    1392      *
    13931387     * @staticvar array $allowed_themes
    13941388     *
     
    14171411     *
    14181412     * @since 3.4.0
    1419      *
    1420      * @static
    14211413     *
    14221414     * @staticvar array $allowed_themes
     
    14991491     *
    15001492     * @since 4.6.0
    1501      * @static
    15021493     *
    15031494     * @param string|array $stylesheets Stylesheet name or array of stylesheet names.
     
    15241515     *
    15251516     * @since 4.6.0
    1526      * @static
    15271517     *
    15281518     * @param string|array $stylesheets Stylesheet name or array of stylesheet names.
     
    15511541     *
    15521542     * @since 3.4.0
    1553      *
    1554      * @static
    15551543     *
    15561544     * @param array $themes Array of themes to sort (passed by reference).
     
    15751563     * @since 3.4.0
    15761564     *
    1577      * @static
    1578      *
    15791565     * @param string $a First name.
    15801566     * @param string $b Second name.
     
    15911577     * @since 3.4.0
    15921578     *
    1593      * @static
    1594      *
    15951579     * @param string $a First name.
    15961580     * @param string $b Second name.
Note: See TracChangeset for help on using the changeset viewer.