diff --git a/wp-admin/post.php b/wp-admin/post.php index 34704c6d6a..4aa442a0b4 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -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 = '';