WordPress.org

Make WordPress Core

Changeset 11587


Ignore:
Timestamp:
06/16/09 19:39:31 (6 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r11499 r11587  
    446446        return new WP_Error('http_no_file', __('Could not create Temporary file')); 
    447447 
    448     $response = wp_remote_get($url, array('timeout' => 30)); 
     448    $response = wp_remote_get($url, array('timeout' => 60)); 
    449449 
    450450    if ( is_wp_error($response) ) { 
Note: See TracChangeset for help on using the changeset viewer.