Fix typo in update-core.php, props takayukister, fixes #10140 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@11561 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-06-14 08:04:26 +00:00
parent bc96c76ad6
commit a8563f5d00
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ function update_core($from, $to) {
$result = copy_dir($from . '/wordpress', $to);
if ( is_wp_error($result) ) {
$wp_filesystem->delete($maintenance_file);
$wp_filesystem->delete($working_dir, true);
$wp_filesystem->delete($from, true);
return $result;
}