mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
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:
parent
d0877b108a
commit
3e8d4ddc1d
@ -196,6 +196,8 @@ class WP_HTML_Decoder {
|
|||||||
*
|
*
|
||||||
* @since 6.6.0
|
* @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 $context `attribute` for decoding attribute values, `data` otherwise.
|
||||||
* @param string $text Text document containing span of text to decode.
|
* @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).
|
* @param int $at Optional. Byte offset into text where span begins, defaults to the beginning (0).
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user