Ticket #11551: 11551.diff
File 11551.diff, 530 bytes (added by , 16 years ago) |
---|
-
wp-admin/includes/file.php
458 458 if ( ! $handle ) 459 459 return new WP_Error('http_no_file', __('Could not create Temporary file')); 460 460 461 $response = wp_remote_get($url, array('timeout' => 60));461 $response = wp_remote_get($url, array('timeout' => apply_filters('download_url_timeout', 300))); 462 462 463 463 if ( is_wp_error($response) ) { 464 464 fclose($handle);