From f091b2d20929364d938cd491a397733e2dc8c80c Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 16 Jun 2009 19:39:59 +0000 Subject: [PATCH] Increase download_url() timeout from 30 to 60. see #10104 for 2.8.1 git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11588 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 77baecd2a2..ee4a0381c5 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -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);