delete_theme(). see #8678

git-svn-id: https://develop.svn.wordpress.org/trunk@10715 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-03-05 19:15:56 +00:00
parent f89abfffd2
commit ac819a92ba
3 changed files with 80 additions and 2 deletions

View File

@@ -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;
}