Fix for fsockopen to stop warnings about "Call-time pass-by-reference".
git-svn-id: https://develop.svn.wordpress.org/trunk@1797 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
904bb037c5
commit
db93072a78
|
@ -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