Make WordPress Core

Changeset 58965


Ignore:
Timestamp:
09/02/2024 08:53:32 PM (6 weeks ago)
Author:
dmsnell
Message:

HTML API: Add missing @global tag on HTML Decoder.

The @global documentation has been missing in the class-wp-html-decoder.php file, and this patch adds it.

Discussed in https://core.trac.wordpress.org/ticket/61968

Props dmsnell, jonsurrell, shailu25.
Resolves #61968.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/html-api/class-wp-html-decoder.php

    r58769 r58965  
    196196     *
    197197     * @since 6.6.0
     198     *
     199     * @global WP_Token_Map $html5_named_character_references Mappings for HTML5 named character references.
    198200     *
    199201     * @param string $context            `attribute` for decoding attribute values, `data` otherwise.
Note: See TracChangeset for help on using the changeset viewer.