Changeset 10150 for trunk/wp-admin/includes/update.php
- Timestamp:
- 12/09/2008 06:03:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/update.php
r10050 r10150 293 293 294 294 $r = $current->response[ $theme ]; 295 295 296 296 $themes = get_themes(); 297 297 foreach ( (array) $themes as $this_theme ) { … … 458 458 // Once extracted, delete the package 459 459 unlink($download_file); 460 460 461 461 if ( is_wp_error($result) ) { 462 462 $wp_filesystem->delete($working_dir, true); 463 463 return $result; 464 464 } 465 465 466 466 // Copy update-core.php from the new version into place. 467 467 if ( !$wp_filesystem->copy($working_dir . '/wordpress/wp-admin/includes/update-core.php', $wp_dir . 'wp-admin/includes/update-core.php', true) ) {
Note: See TracChangeset
for help on using the changeset viewer.