We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 493a99a commit d19c3fdCopy full SHA for d19c3fd
src/wp-admin/includes/class-wp-upgrader.php
@@ -628,7 +628,8 @@ public function install_package( $args = array() ) {
628
}
629
630
// Move new version of item into place.
631
- $result = move_dir( $source, $remote_destination, $remote_source );
+ $result = move_dir( $source, $remote_destination );
632
+
633
if ( is_wp_error( $result ) ) {
634
if ( $args['clear_working'] ) {
635
$wp_filesystem->delete( $remote_source, true );
0 commit comments