Skip to content

Commit 41dc4aa

Browse files
committed
Update docs
1 parent ec5776b commit 41dc4aa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/wp-includes/html-api/class-wp-html-processor.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,13 @@ class WP_HTML_Processor extends WP_HTML_Tag_Processor {
281281
*
282282
* ## Current HTML Support
283283
*
284-
* - The only supported context is `<body>`, which is the default value.
285284
* - The only supported document encoding is `UTF-8`, which is the default value.
286285
*
286+
* @todo Verify that creating a fragment in self-contained elements works.
287+
*
287288
* @since 6.4.0
288289
* @since 6.6.0 Returns `static` instead of `self` so it can create subclass instances.
290+
* @since 6.7.0 Can create fragment in any context.
289291
*
290292
* @param string $html Input HTML fragment to process.
291293
* @param string $context Context element for the fragment, must be default of `<body>`.

0 commit comments

Comments
 (0)