Changeset 46258 for trunk/src/wp-includes/Requests/Transport/fsockopen.php
- Timestamp:
- 09/23/2019 06:11:01 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Requests/Transport/fsockopen.php
r38727 r46258 151 151 152 152 $request_body = ''; 153 $out = sprintf("%s %s HTTP/%.1 f\r\n", $options['type'], $path, $options['protocol_version']);153 $out = sprintf("%s %s HTTP/%.1F\r\n", $options['type'], $path, $options['protocol_version']); 154 154 155 155 if ($options['type'] !== Requests::TRACE) { … … 193 193 194 194 if (!empty($headers)) { 195 $out .= implode( $headers, "\r\n") . "\r\n";195 $out .= implode("\r\n", $headers) . "\r\n"; 196 196 } 197 197
Note: See TracChangeset
for help on using the changeset viewer.