From db93072a78194739143a5235cbecfb616a83a78a Mon Sep 17 00:00:00 2001 From: Donncha O Caoimh Date: Thu, 14 Oct 2004 07:48:15 +0000 Subject: [PATCH] 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 --- wp-admin/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/post.php b/wp-admin/post.php index 85cf779490..9097a5e734 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -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 );