From f12797ca9683a3687f78a970b4624b9405576d4b Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 24 Jun 2006 06:05:12 +0000 Subject: [PATCH] Silence pingomatic fsockopen. Props Mark Jaquith. fixes #2522 git-svn-id: http://svn.automattic.com/wordpress/trunk@3917 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update-links.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/update-links.php b/wp-admin/update-links.php index 46a7f5a831..eff00db09a 100644 --- a/wp-admin/update-links.php +++ b/wp-admin/update-links.php @@ -23,7 +23,7 @@ $http_request .= "\r\n"; $http_request .= $query_string; $response = ''; -if( false !== ( $fs = fsockopen('api.pingomatic.com', 80, $errno, $errstr, 5) ) ) { +if ( false !== ( $fs = @fsockopen('api.pingomatic.com', 80, $errno, $errstr, 5) ) ) { fwrite($fs, $http_request); while ( !feof($fs) ) $response .= fgets($fs, 1160); // One TCP-IP packet