wp-includes/ai-client/adapters/class-wp-ai-client-http-client.php:179Prepares request body for WordPress HTTP API.
$requestWordPress\AiClientDependencies\Psr\Http\Message\RequestInterfacestring|null private function prepare_body( RequestInterface $request ): ?string { $body = $request->getBody(); if ( $body->getSize() === 0 ) { return null; } if ( $body->isSeekable() ) { $body->rewind(); } return (string) $body; }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-http-client.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.