Typo fix. fixes #7104
git-svn-id: http://svn.automattic.com/wordpress/trunk@8055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
570cb5374c
commit
220af4a96e
|
@ -183,7 +183,7 @@ function wp_update_plugin($plugin, $feedback = '') {
|
|||
$download_file = download_url($package);
|
||||
|
||||
if ( is_wp_error($download_file) )
|
||||
return new WP_Error('download_failed', __('Download failed.'), $file->get_error_message());
|
||||
return new WP_Error('download_failed', __('Download failed.'), $download_file->get_error_message());
|
||||
|
||||
$working_dir = $content_dir . 'upgrade/' . basename($plugin, '.php');
|
||||
|
||||
|
|
Loading…
Reference in New Issue