mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-05 09:40:13 +00:00
Use set_time_limit() to buy some time during upgrade. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@9164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -175,6 +175,8 @@ $_old_files = array(
|
||||
function update_core($from, $to) {
|
||||
global $wp_filesystem, $_old_files;
|
||||
|
||||
@set_time_limit( 300 );
|
||||
|
||||
// Sanity check the unzipped distribution
|
||||
apply_filters('update_feedback', __('Verifying the unpacked files'));
|
||||
if ( !$wp_filesystem->exists($from . '/wordpress/wp-settings.php') || !$wp_filesystem->exists($from . '/wordpress/wp-admin/admin.php') ||
|
||||
|
||||
Reference in New Issue
Block a user