mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Awesome fix from Dougal about ping timeout problems.
git-svn-id: https://develop.svn.wordpress.org/trunk@2942 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -661,7 +661,7 @@ function discover_pingback_server_uri($url, $timeout_bytes = 2048) {
|
||||
}
|
||||
|
||||
// Send the GET request
|
||||
$request = "GET $path HTTP/1.1\r\nHost: $host\r\nUser-Agent: WordPress/$wp_version PHP/" . phpversion() . "\r\n\r\n";
|
||||
$request = "GET $path HTTP/1.1\r\nHost: $host\r\nUser-Agent: WordPress/$wp_version \r\n\r\n";
|
||||
// ob_end_flush();
|
||||
fputs($fp, $request);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user