wp-includes/class-wp-http-ixr-client.php:22$serverstring$pathstring|falseoptionalfalse$portint|falseoptionalfalse$timeoutintoptional15 public function __construct( $server, $path = false, $port = false, $timeout = 15 ) { if ( ! $path ) { // Assume we have been given a URL instead. $bits = parse_url( $server ); $this->scheme = $bits['scheme'] ?? ''; $this->server = $bits['host'] ?? ''; $this->port = $bits['port'] ?? $port; $this->path = $bits['path'] ?? '/'; // Make absolutely sure we have a path. if ( ! $this->path ) { $this->path = '/'; } if ( ! empty( $bits['query'] ) ) { $this->path .= '?' . $bits['query']; } } else { $this->scheme = 'http'; $this->server = $server; $this->path = $path; $this->port = $port; } $this->useragent = 'The Incutio XML-RPC PHP Library'; $this->timeout = $timeout; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-http-ixr-client.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.