Fix for fsockopen to stop warnings about "Call-time pass-by-reference".
git-svn-id: http://svn.automattic.com/wordpress/trunk@1797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9d7cee76d2
commit
c3d0099bfb
|
@ -391,7 +391,7 @@ $now_gmt = current_time('mysql', 1);
|
||||||
$port = 80;
|
$port = 80;
|
||||||
$timeout = 3;
|
$timeout = 3;
|
||||||
// Open a socket connection to the host
|
// Open a socket connection to the host
|
||||||
$fp = fsockopen($host, $port, &$err_num, &$err_msg, $timeout);
|
$fp = fsockopen($host, $port, $err_num, $err_msg, $timeout);
|
||||||
if( $fp ) {
|
if( $fp ) {
|
||||||
// Send request for the page
|
// Send request for the page
|
||||||
fputs($fp, $headers );
|
fputs($fp, $headers );
|
||||||
|
|
Loading…
Reference in New Issue