diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
commit | 600b71019494e1c29898a620e58c0d2602f37b74 (patch) | |
tree | 21181d77ad4ebbcd42cd883e509c08a568d29514 /wp-admin/update-links.php | |
parent | 7935d0bd9ef23d32ae29a95bd6c3ea0b6eab2973 (diff) | |
download | wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.gz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.xz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.zip |
WP Merge to 4524
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@810 7be80a69-a1ef-0310-a953-fb0f7c49ff36
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) ); |