]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/update-links.php
Wordpress 2.0.4
[autoinstalls/wordpress.git] / wp-admin / update-links.php
index 46a7f5a831df2d6471107f453f4b417a08d8d165..eff00db09a1ac4990193b0b28f20718c3ff33a9d 100644 (file)
@@ -23,7 +23,7 @@ $http_request .= "\r\n";
 $http_request .= $query_string;
 
 $response = '';
 $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
        fwrite($fs, $http_request);
        while ( !feof($fs) )
                $response .= fgets($fs, 1160); // One TCP-IP packet