diff --git a/wp-includes/Requests/Transport/fsockopen.php b/wp-includes/Requests/Transport/fsockopen.php index 21cb56d5ec..c7c61d3b13 100644 --- a/wp-includes/Requests/Transport/fsockopen.php +++ b/wp-includes/Requests/Transport/fsockopen.php @@ -150,7 +150,7 @@ class Requests_Transport_fsockopen implements Requests_Transport { $options['hooks']->dispatch('fsockopen.remote_host_path', array(&$path, $url)); $request_body = ''; - $out = sprintf("%s %s HTTP/%.1f\r\n", $options['type'], $path, $options['protocol_version']); + $out = sprintf("%s %s HTTP/%.1F\r\n", $options['type'], $path, $options['protocol_version']); if ($options['type'] !== Requests::TRACE) { if (is_array($data)) { @@ -192,7 +192,7 @@ class Requests_Transport_fsockopen implements Requests_Transport { $headers = Requests::flatten($headers); if (!empty($headers)) { - $out .= implode($headers, "\r\n") . "\r\n"; + $out .= implode("\r\n", $headers) . "\r\n"; } $options['hooks']->dispatch('fsockopen.after_headers', array(&$out)); diff --git a/wp-includes/class-requests.php b/wp-includes/class-requests.php index bb266189c1..ea1b868f53 100644 --- a/wp-includes/class-requests.php +++ b/wp-includes/class-requests.php @@ -88,7 +88,7 @@ class Requests { * * @var string */ - const VERSION = '1.7'; + const VERSION = '1.7-3470169'; /** * Registered transport classes diff --git a/wp-includes/version.php b/wp-includes/version.php index de3bc6555f..615e029a05 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46257'; +$wp_version = '5.3-alpha-46258'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.