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

git-svn-id: http://svn.automattic.com/wordpress/trunk@11561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-06-14 08:04:26 +00:00
parent 6615e5390c
commit 00a9c29c6e
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;
}