WordPress.org

Make WordPress Core

Ticket #11551: 11551.2.diff

File 11551.2.diff, 491 bytes (added by ryan, 4 years ago)
  • wp-admin/includes/file.php

     
    458458        if ( ! $handle ) 
    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) ) { 
    464464                fclose($handle);