mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
Fix a small typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f6ebb6533
commit
86577f34ea
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user