Increase download_url() timeout from 30 to 60. see #10104

git-svn-id: https://develop.svn.wordpress.org/trunk@11587 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-06-16 19:39:31 +00:00
parent de90d38205
commit ef1354b925
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,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' => 30));
$response = wp_remote_get($url, array('timeout' => 60));
if ( is_wp_error($response) ) {
fclose($handle);