WordPress.org

Make WordPress Core


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

    r48104 r48109  
    19821982 *
    19831983 * @since 2.5.0
    1984  *
    1985  * @staticvar int $instance
    19861984 *
    19871985 * @param array $attr {
     
    23132311 *
    23142312 * @global int $content_width
    2315  * @staticvar int $instance
    23162313 *
    23172314 * @param array $attr {
     
    26472644 * @since 3.6.0
    26482645 *
    2649  * @staticvar int $instance
    2650  *
    26512646 * @param array  $attr {
    26522647 *     Attributes of the audio shortcode.
     
    28612856 *
    28622857 * @global int $content_width
    2863  * @staticvar int $instance
    28642858 *
    28652859 * @param array  $attr {
Note: See TracChangeset for help on using the changeset viewer.