WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/19/09 19:36:28 (6 years ago)
Author:
ryan
Message:

consolidate plugin/theme/core upgrade/install functions. Props DD32. see #7875

File:
1 edited

Legend:

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

    r10551 r11005  
    230230    if ( is_wp_error($result) ) { 
    231231        $wp_filesystem->delete($maintenance_file); 
    232         //$wp_filesystem->delete($working_dir, true); //TODO: Uncomment? This DOES mean that the new files are available in the upgrade folder if it fails. 
     232        $wp_filesystem->delete($working_dir, true); 
    233233        return $result; 
    234234    } 
Note: See TracChangeset for help on using the changeset viewer.