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

git-svn-id: https://develop.svn.wordpress.org/trunk@12489 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-12-22 16:42:30 +00:00
parent ed186637da
commit 9ff30116e7
1 changed files with 1 additions and 1 deletions

View File

@ -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);