WordPress.org

Make WordPress Core

Changeset 9186


Ignore:
Timestamp:
10/15/08 16:38:17 (6 years ago)
Author:
ryan
Message:

Give downloads a longer timeout. see #7793

File:
1 edited

Legend:

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

    r9185 r9186  
    435435        return new WP_Error('http_no_file', __('Could not create Temporary file')); 
    436436 
    437     $response = wp_remote_get($url); 
     437    $response = wp_remote_get($url, array('timeout' => 30)); 
    438438 
    439439    if ( is_wp_error($response) ) { 
Note: See TracChangeset for help on using the changeset viewer.