mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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;
|
||||
$timeout = 3;
|
||||
// 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 ) {
|
||||
// Send request for the page
|
||||
fputs($fp, $headers );
|
||||
|
Loading…
Reference in New Issue
Block a user