We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca5aca commit 11c235aCopy full SHA for 11c235a
src/wp-includes/html-api/class-wp-html-processor.php
@@ -432,7 +432,7 @@ function ( WP_HTML_Token $token ): void {
432
* @param string $html Input HTML fragment to process.
433
* @return static|null The created processor if successful, otherwise null.
434
*/
435
- private function spawn_fragment_parser( string $html ): ?self {
+ public function spawn_fragment_parser( string $html ): ?self {
436
if ( $this->get_token_type() !== '#tag' ) {
437
return null;
438
}
0 commit comments