diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 0f6acc69b4..2770a2e15e 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -1904,7 +1904,7 @@ function copy_dir( $from, $to, $skip_list = array() ) { $dirlist = $wp_filesystem->dirlist( $from ); if ( false === $dirlist ) { - return new WP_Error( 'dirlist_failed_copy_dir', __( 'Directory listing failed.' ), basename( $to ) ); + return new WP_Error( 'dirlist_failed_copy_dir', __( 'Directory listing failed.' ), basename( $from ) ); } $from = trailingslashit( $from ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 46d38bb8f1..c9ce3c78eb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55537'; +$wp_version = '6.3-alpha-55538'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.