Make WordPress Core

Changeset 9164


Ignore:
Timestamp:
10/14/2008 04:36:43 PM (15 years ago)
Author:
ryan
Message:

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

Location:
trunk/wp-admin/includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.