From 6b280a820eb677d7dc1071bed60988ffa46f9429 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sat, 1 Mar 2014 06:02:15 +0000 Subject: [PATCH] Upgrader: Remove two stray spaces. See #25860 Built from https://develop.svn.wordpress.org/trunk@27337 git-svn-id: http://core.svn.wordpress.org/trunk@27189 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index b4ea9a13e4..47da156dc6 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -716,8 +716,8 @@ function update_core($from, $to) { // $wp_filesystem->wp_content_dir() returned unslashed pre-2.8 $versions_file = trailingslashit( $wp_filesystem->wp_content_dir() ) . 'upgrade/version-current.php'; if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $versions_file ) ) { - $wp_filesystem->delete( $from, true ); - return new WP_Error( 'copy_failed_for_version_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), 'wp-includes/version.php' ); + $wp_filesystem->delete( $from, true ); + return new WP_Error( 'copy_failed_for_version_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), 'wp-includes/version.php' ); } $wp_filesystem->chmod( $versions_file, FS_CHMOD_FILE );