Typo fix. fixes #7104

git-svn-id: https://develop.svn.wordpress.org/trunk@8055 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-06-06 01:45:58 +00:00
parent daef9ff12d
commit ceea1f5d48
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ function wp_update_plugin($plugin, $feedback = '') {
$download_file = download_url($package); $download_file = download_url($package);
if ( is_wp_error($download_file) ) 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'); $working_dir = $content_dir . 'upgrade/' . basename($plugin, '.php');