From 86577f34ea9dbaba7d2eff0763bb64fa49dde51d Mon Sep 17 00:00:00 2001 From: dd32 Date: Fri, 2 Mar 2012 11:00:51 +0000 Subject: [PATCH] Fix a small typo. git-svn-id: http://svn.automattic.com/wordpress/trunk@20070 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index a00bed563d..447b2d6780 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -628,7 +628,7 @@ function _unzip_file_ziparchive($file, $to, $needed_dirs = array() ) { return new WP_Error('extract_failed', __('Could not extract file from archive.'), $info['name']); if ( ! $wp_filesystem->put_contents( $to . $info['name'], $contents, FS_CHMOD_FILE) ) - return new WP_Error('copy_failed', __('Could not copy file.'), $to . $info['filename']); + return new WP_Error('copy_failed', __('Could not copy file.'), $to . $info['name']); } $z->close();