Changeset 9164

Show
Ignore:
Timestamp:
10/14/08 16:36:43 (2 months ago)
Author:
ryan
Message:

Use set_time_limit() to buy some time during upgrade. see #5560

Files:

Legend:

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

    r9142 r9164  
    442442        return new WP_Error('http_404', trim($response['response']['message'])); 
    443443    } 
     444    var_dump($response); 
    444445    fwrite($handle, $response['body']); 
    445446    fclose($handle); 
  • trunk/wp-admin/includes/update-core.php

    r9128 r9164  
    176176    global $wp_filesystem, $_old_files; 
    177177 
     178    @set_time_limit( 300 ); 
     179 
    178180    // Sanity check the unzipped distribution 
    179181    apply_filters('update_feedback', __('Verifying the unpacked files')); 
  • trunk/wp-admin/includes/update.php

    r9119 r9164  
    324324    global $wp_filesystem; 
    325325 
     326    @set_time_limit( 300 ); 
     327 
    326328    if ( !empty($feedback) ) 
    327329        add_filter('update_feedback', $feedback);