diff options
Diffstat (limited to 'wp-admin/update-links.php')
-rw-r--r-- | wp-admin/update-links.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-admin/update-links.php b/wp-admin/update-links.php index 0ecbdd3..2482deb 100644 --- a/wp-admin/update-links.php +++ b/wp-admin/update-links.php @@ -28,13 +28,13 @@ if ( false !== ( $fs = @fsockopen('api.pingomatic.com', 80, $errno, $errstr, 5) while ( !feof($fs) ) $response .= fgets($fs, 1160); // One TCP-IP packet fclose($fs); - + $response = explode("\r\n\r\n", $response, 2); $body = trim( $response[1] ); $body = str_replace(array("\r\n", "\r"), "\n", $body); - + $returns = explode("\n", $body); - + foreach ($returns as $return) : $time = $wpdb->escape( substr($return, 0, 19) ); $uri = $wpdb->escape( preg_replace('/(.*?) | (.*?)/', '$2', $return) ); |