mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -97,7 +97,7 @@ function delete_theme($template) {
|
||||
return new WP_Error('could_not_remove_theme', sprintf(__('Could not fully remove the theme %s'), $template) );
|
||||
|
||||
// Force refresh of theme update information
|
||||
delete_transient('update_themes');
|
||||
delete_site_transient('update_themes');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user