Closed ocean90 closed 3 years ago
DOMDocument::loadHTML() may throw some PHP warnings for unknown HTML. To suppress them we can use libxml_use_internal_errors(false).
DOMDocument::loadHTML()
libxml_use_internal_errors(false)
Some logged warnings:
WordPress is doing the same in several places:
DOMDocument::loadHTML()
may throw some PHP warnings for unknown HTML. To suppress them we can uselibxml_use_internal_errors(false)
.Some logged warnings:
WordPress is doing the same in several places: