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:
parent
6615e5390c
commit
00a9c29c6e
|
@ -229,7 +229,7 @@ function update_core($from, $to) {
|
||||||
$result = copy_dir($from . '/wordpress', $to);
|
$result = copy_dir($from . '/wordpress', $to);
|
||||||
if ( is_wp_error($result) ) {
|
if ( is_wp_error($result) ) {
|
||||||
$wp_filesystem->delete($maintenance_file);
|
$wp_filesystem->delete($maintenance_file);
|
||||||
$wp_filesystem->delete($working_dir, true);
|
$wp_filesystem->delete($from, true);
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue