WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:38:55 PM (15 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-wp-theme.php

    r48059 r48109  
    454454     * __isset() magic method for properties formerly returned by current_theme_info()
    455455     *
    456      * @staticvar array $properties
    457      *
    458456     * @since 3.4.0
    459457     *
     
    547545    /**
    548546     * Method to implement ArrayAccess for keys formerly returned by get_themes()
    549      *
    550      * @staticvar array $keys
    551547     *
    552548     * @since 3.4.0
     
    811807     * @since 5.4.0 Added support for `Requires at least` and `Requires PHP` headers.
    812808     *
    813      * @staticvar array $header_tags
    814      * @staticvar array $header_tags_with_a
    815      *
    816809     * @param string $header Theme header. Accepts 'Name', 'Description', 'Author', 'Version',
    817810     *                       'ThemeURI', 'AuthorURI', 'Status', 'Tags', 'RequiresWP', 'RequiresPHP'.
     
    877870     * @since 3.4.0
    878871     *
    879      * @staticvar string $comma
    880      *
    881872     * @param string       $header    Theme header. Name, Description, Author, Version, ThemeURI, AuthorURI, Status, Tags.
    882873     * @param string|array $value     Value to mark up. An array for Tags header, string otherwise.
     
    922913     *
    923914     * @since 3.4.0
    924      *
    925      * @staticvar array $tags_list
    926915     *
    927916     * @param string       $header Theme header. Name, Description, Author, Version, ThemeURI, AuthorURI, Status, Tags.
     
    14741463     * @since 3.4.0
    14751464     *
    1476      * @staticvar array $allowed_themes
    1477      *
    14781465     * @return string[] Array of stylesheet names.
    14791466     */
     
    15001487     *
    15011488     * @since 3.4.0
    1502      *
    1503      * @staticvar array $allowed_themes
    15041489     *
    15051490     * @param int $blog_id Optional. ID of the site. Defaults to the current site.
Note: See TracChangeset for help on using the changeset viewer.