WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:31:33 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove @static notations from property DocBlocks in wp-admin/* and 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

    r42746 r42747  
    2222     * Headers for style.css files.
    2323     *
    24      * @static
    2524     * @var array
    2625     */
     
    4241     * Default themes.
    4342     *
    44      * @static
    4543     * @var array
    4644     */
     
    6159     * Renamed theme tags.
    6260     *
    63      * @static
    6461     * @var array
    6562     */
     
    159156     * Default is false. Can be set with the {@see 'wp_cache_themes_persistently'} filter.
    160157     *
    161      * @static
    162158     * @var bool
    163159     */
     
    169165     * By default the bucket is not cached, so this value is useless.
    170166     *
    171      * @static
    172167     * @var bool
    173168     */
Note: See TracChangeset for help on using the changeset viewer.