Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Increase download_url() timeout to 5 minutes. fixes #11551 for 2.9

git-svn-id: http://svn.automattic.com/wordpress/branches/2.9@12490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
commit d7cd7a912f2eeb412fa442c9c5f3784e0241f50d 1 parent a1fdb6f
ryan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wp-admin/includes/file.php
View
2  wp-admin/includes/file.php
@@ -458,7 +458,7 @@ function download_url( $url ) {
if ( ! $handle )
return new WP_Error('http_no_file', __('Could not create Temporary file'));
- $response = wp_remote_get($url, array('timeout' => 60));
+ $response = wp_remote_get($url, array('timeout' => 300));
if ( is_wp_error($response) ) {
fclose($handle);

0 comments on commit d7cd7a9

Please sign in to comment.
Something went wrong with that request. Please try again.