removed call time pass by reference in enclosures support
git-svn-id: http://svn.automattic.com/wordpress/trunk@1806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a0a2e1f39d
commit
595ac150eb
|
@ -384,7 +384,7 @@ $now_gmt = current_time('mysql', 1);
|
|||
$headers = "HEAD $file HTTP/1.1\r\nHOST: $host\r\n\r\n";
|
||||
$port = 80;
|
||||
$timeout = 3;
|
||||
$fp = fsockopen($host, $port, &$err_num, &$err_msg, $timeout);
|
||||
$fp = fsockopen($host, $port, $errno, $errstr, $timeout);
|
||||
if( $fp ) {
|
||||
fputs($fp, $headers );
|
||||
$response = '';
|
||||
|
|
Loading…
Reference in New Issue