mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -436,7 +436,7 @@ function delete_plugins($plugins, $redirect = '' ) {
|
||||
return new WP_Error('fs_unavailable', __('Could not access filesystem.'));
|
||||
|
||||
if ( is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code() )
|
||||
return new WP_Error('fs_error', __('Filesystem error'), $wp_filesystem->errors);
|
||||
return new WP_Error('fs_error', __('Filesystem error.'), $wp_filesystem->errors);
|
||||
|
||||
//Get the base plugin folder
|
||||
$plugins_dir = $wp_filesystem->wp_plugins_dir();
|
||||
@@ -464,7 +464,7 @@ function delete_plugins($plugins, $redirect = '' ) {
|
||||
}
|
||||
|
||||
if ( ! empty($errors) )
|
||||
return new WP_Error('could_not_remove_plugin', sprintf(__('Could not fully remove the plugin(s) %s'), implode(', ', $errors)) );
|
||||
return new WP_Error('could_not_remove_plugin', sprintf(__('Could not fully remove the plugin(s) %s.'), implode(', ', $errors)) );
|
||||
|
||||
// Force refresh of plugin update information
|
||||
if ( $current = get_site_transient('update_plugins') ) {
|
||||
|
||||
Reference in New Issue
Block a user