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:
Ryan Boren
2010-01-08 20:49:55 +00:00
parent b153c75949
commit 71bef9fe26
13 changed files with 43 additions and 123 deletions
+1 -1
View File
@@ -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;
}