Make WordPress Core


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

    r48100 r48109  
    3030 * @global array $wp_cockneyreplace Array of formatted entities for certain common phrases.
    3131 * @global array $shortcode_tags
    32  * @staticvar array  $static_characters
    33  * @staticvar array  $static_replacements
    34  * @staticvar array  $dynamic_characters
    35  * @staticvar array  $dynamic_replacements
    36  * @staticvar array  $default_no_texturize_tags
    37  * @staticvar array  $default_no_texturize_shortcodes
    38  * @staticvar bool   $run_texturize
    39  * @staticvar string $apos
    40  * @staticvar string $prime
    41  * @staticvar string $double_prime
    42  * @staticvar string $opening_quote
    43  * @staticvar string $closing_quote
    44  * @staticvar string $opening_single_quote
    45  * @staticvar string $closing_single_quote
    46  * @staticvar string $open_q_flag
    47  * @staticvar string $open_sq_flag
    48  * @staticvar string $apos_flag
    4932 *
    5033 * @param string $text  The text to be formatted.
     
    634617 * @since 4.4.0
    635618 *
    636  * @staticvar string $regex
    637  *
    638619 * @return string The regular expression
    639620 */
     
    694675 * @internal This function will be removed in 4.5.0 per Shortcode API Roadmap.
    695676 * @since 4.4.0
    696  *
    697  * @staticvar string $html_regex
    698677 *
    699678 * @param string $shortcode_regex The result from _get_wptexturize_shortcode_regex(). Optional.
     
    939918 * @access private
    940919 *
    941  * @staticvar string $_charset
    942  *
    943920 * @param string       $string        The text which is to be encoded.
    944921 * @param int|string   $quote_style   Optional. Converts double quotes if set to ENT_COMPAT,
     
    11121089 *
    11131090 * @since 2.8.0
    1114  *
    1115  * @staticvar bool $is_utf8
    1116  * @staticvar bool $utf8_pcre
    11171091 *
    11181092 * @param string  $string The text which is to be checked.
     
    54465420 * @since 3.0.0
    54475421 *
    5448  * @staticvar string|false $dblq
    5449  *
    54505422 * @param string $text The text to be modified.
    54515423 * @return string The modified text.
     
    56195591 *
    56205592 * @since 4.0.0
    5621  *
    5622  * @staticvar string $spaces
    56235593 *
    56245594 * @return string The spaces regexp.
     
    56505620 *
    56515621 * @since 4.2.0
    5652  *
    5653  * @staticvar bool $printed
    56545622 */
    56555623function print_emoji_styles() {
     
    56855653 *
    56865654 * @since 4.2.0
    5687  * @staticvar bool $printed
    56885655 */
    56895656function print_emoji_detection_script() {
Note: See TracChangeset for help on using the changeset viewer.