wp-includes/class-wp-speculation-rules.php:278Checks whether the given speculation rules eagerness is valid.
$eagernessstringbool public static function is_valid_eagerness( string $eagerness ): bool { return isset( self::$eagerness_allowlist[ $eagerness ] ); }Introduced in 6.8.0. One change between 6.8.8 and 7.1.0.
Signature, return type and hooks compared across 4 parsed releases.
$eagerness retyped from string to mixed.verified against sourcesrc/wp-includes/class-wp-speculation-rules.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.