mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Use transient for update_core, update_plugins, update_themes. see #9048
git-svn-id: https://develop.svn.wordpress.org/trunk@10515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -254,7 +254,7 @@ function update_core($from, $to) {
|
||||
$wp_filesystem->delete($from, true);
|
||||
|
||||
// Force refresh of update information
|
||||
delete_option('update_core');
|
||||
delete_transient('update_core');
|
||||
|
||||
// Remove maintenance file, we're done.
|
||||
$wp_filesystem->delete($maintenance_file);
|
||||
|
||||
Reference in New Issue
Block a user