Typo fix. fixes #7104
git-svn-id: https://develop.svn.wordpress.org/trunk@8055 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
daef9ff12d
commit
ceea1f5d48
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue