WordPress.org

Make WordPress Core

Changeset 12490


Ignore:
Timestamp:
12/22/2009 04:43:05 PM (10 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.9/wp-admin/includes/file.php

    r12310 r12490  
    459459        return new WP_Error('http_no_file', __('Could not create Temporary file'));
    460460
    461     $response = wp_remote_get($url, array('timeout' => 60));
     461    $response = wp_remote_get($url, array('timeout' => 300));
    462462
    463463    if ( is_wp_error($response) ) {
Note: See TracChangeset for help on using the changeset viewer.