Ticket #16158: garyc40.16158.diff
File garyc40.16158.diff, 470 bytes (added by , 10 years ago) |
---|
-
wp-includes/update.php
diff --git wp-includes/update.php wp-includes/update.php index 1f9f2a9..7217242 100644
function wp_version_check() { 76 76 if ( 200 != $response['response']['code'] ) 77 77 return false; 78 78 79 if ( 'text/plain; charset=utf-8' != $response['headers']['content-type'] ) 80 return false; 81 79 82 $body = trim( $response['body'] ); 80 83 $body = str_replace(array("\r\n", "\r"), "\n", $body); 81 84 $new_options = array();