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.

Built from https://develop.svn.wordpress.org/trunk@58965


git-svn-id: http://core.svn.wordpress.org/trunk@58361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dmsnell 2024-09-02 20:55:14 +00:00
parent d0877b108a
commit 3e8d4ddc1d
2 changed files with 3 additions and 1 deletions

View File

@ -196,6 +196,8 @@ class WP_HTML_Decoder {
*
* @since 6.6.0
*
* @global WP_Token_Map $html5_named_character_references Mappings for HTML5 named character references.
*
* @param string $context `attribute` for decoding attribute values, `data` otherwise.
* @param string $text Text document containing span of text to decode.
* @param int $at Optional. Byte offset into text where span begins, defaults to the beginning (0).

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58964';
$wp_version = '6.7-alpha-58965';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.