wp-includes/SimplePie/src/XML/Declaration/Parser.php:242 public function version_value() { if ($this->version = $this->get_value()) { $this->skip_whitespace(); if ($this->has_data()) { $this->state = self::STATE_ENCODING_NAME; } else { $this->state = self::STATE_EMIT; } } else { $this->state = self::STATE_ERROR; } }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/SimplePie/src/XML/Declaration/Parser.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.