mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
delete_theme(). see #8678
git-svn-id: https://develop.svn.wordpress.org/trunk@10715 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -471,7 +471,7 @@ function delete_plugins($plugins, $redirect = '' ) {
|
||||
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
|
||||
delete_option('update_plugins');
|
||||
delete_transient('update_plugins');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user