wp-includes/SimplePie/src/SimplePie.php:1479$tagsstring[]|string|falseoptional''$encode?booloptionalnullvoid public function strip_htmltags($tags = '', ?bool $encode = null) { if ($tags === '') { $tags = $this->strip_htmltags; } $this->sanitize->strip_htmltags($tags); if ($encode !== null) { $this->sanitize->encode_instead_of_strip($encode); } }3 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$tags retyped from untyped to string[]|string|false.verified against source$encode retyped from untyped to ?bool.verified against sourcenone to void.verified against sourcesrc/wp-includes/SimplePie/src/SimplePie.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.