From 220af4a96e64898fc5863f606c40e7f6f98f4983 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 6 Jun 2008 01:45:58 +0000 Subject: [PATCH] Typo fix. fixes #7104 git-svn-id: http://svn.automattic.com/wordpress/trunk@8055 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index b0dab3ce43..eb96385adf 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -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');