wp-includes/SimplePie/src/Parser.php:349$parserXMLParser|resource|null$tagstringvoid public function tag_close($parser, string $tag) { if ($this->current_xhtml_construct >= 0) { $this->current_xhtml_construct--; if (end($this->namespace) === \SimplePie\SimplePie::NAMESPACE_XHTML && !in_array(end($this->element), ['area', 'base', 'basefont', 'br', 'col', 'frame', 'hr', 'img', 'input', 'isindex', 'link', 'meta', 'param'])) { $this->data['data'] .= '</' . end($this->element) . '>'; } } if ($this->current_xhtml_construct === -1) { $this->data = &$this->datas[count($this->datas) - 1]; array_pop($this->datas); } array_pop($this->element); array_pop($this->namespace); array_pop($this->xml_base); array_pop($this->xml_base_explicit); array_pop($this->xml_lang); }3 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$parser retyped from untyped to XMLParser|resource|null.verified against source$tag retyped from untyped to string.verified against sourcenone to void.verified against sourcesrc/wp-includes/SimplePie/src/Parser.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.