wp-includes/SimplePie/src/Sanitize.php:603$attrib$xpath protected function strip_attr($attrib, $xpath) { $elements = $xpath->query('//*[@' . $attrib . ']'); foreach ($elements as $element) { $element->removeAttribute($attrib); } }3 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$attrib retyped from untyped to string.verified against source$xpath retyped from untyped to DOMXPath.verified against sourcenone to void.verified against sourcesrc/wp-includes/SimplePie/src/Sanitize.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.