mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +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:
@@ -302,7 +302,7 @@ foreach ( $recently_activated as $key => $time )
|
||||
unset($recently_activated[ $key ]);
|
||||
if ( $recently_activated != get_option('recently_activated') ) //If array changed, update it.
|
||||
update_option('recently_activated', $recently_activated);
|
||||
$current = get_transient( 'update_plugins' );
|
||||
$current = get_site_transient( 'update_plugins' );
|
||||
|
||||
foreach ( (array)$all_plugins as $plugin_file => $plugin_data) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user