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:
parent
bc96c76ad6
commit
a8563f5d00
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user