wp-includes/ai-client/adapters/class-wp-ai-client-discovery-strategy.php:24Discovery strategy for WordPress HTTP client.
class WP_AI_Client_Discovery_Strategy extends AbstractClientDiscoveryStrategy { /** * Creates an instance of the WordPress HTTP client. * * @since 7.0.0 * * @param Psr17Factory $psr17_factory The PSR-17 factory for creating HTTP messages. * @return ClientInterface The PSR-18 HTTP client. */ protected static function createClient( Psr17Factory $psr17_factory ): ClientInterface { return new WP_AI_Client_HTTP_Client( $psr17_factory, $psr17_factory ); }}Introduced in 7.0.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/ai-client/adapters/class-wp-ai-client-discovery-strategy.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.