WordPress.org

Make WordPress Core

Changeset 9086


Ignore:
Timestamp:
10/05/2008 06:00:24 AM (12 years ago)
Author:
ryan
Message:

Remove old files before upgrading DB. see #5560

File:
1 edited

Legend:

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

    r9085 r9086  
    200200    }
    201201
    202     // Upgrade DB with separate request
    203     apply_filters('update_feedback', __('Upgrading database'));
    204     $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db');
    205     wp_remote_post($db_upgrade_url, array('timeout' => 60));
    206 
    207202    // Remove old files
    208203    foreach ( $_old_files as $old_file ) {
     
    213208    }
    214209
     210    // Upgrade DB with separate request
     211    apply_filters('update_feedback', __('Upgrading database'));
     212    $db_upgrade_url = admin_url('upgrade.php?step=upgrade_db');
     213    wp_remote_post($db_upgrade_url, array('timeout' => 60));
     214
    215215    // Remove working directory
    216216    $wp_filesystem->delete($from, true);
Note: See TracChangeset for help on using the changeset viewer.