@@ -684,21 +684,18 @@ function wp_clean_update_cache() {
684
684
685
685
add_action ( 'admin_init ' , '_maybe_update_core ' );
686
686
add_action ( 'wp_version_check ' , 'wp_version_check ' );
687
- add_action ( 'upgrader_process_complete ' , 'wp_version_check ' , 10 , 0 );
688
687
689
688
add_action ( 'load-plugins.php ' , 'wp_update_plugins ' );
690
689
add_action ( 'load-update.php ' , 'wp_update_plugins ' );
691
690
add_action ( 'load-update-core.php ' , 'wp_update_plugins ' );
692
691
add_action ( 'admin_init ' , '_maybe_update_plugins ' );
693
692
add_action ( 'wp_update_plugins ' , 'wp_update_plugins ' );
694
- add_action ( 'upgrader_process_complete ' , 'wp_update_plugins ' , 10 , 0 );
695
693
696
694
add_action ( 'load-themes.php ' , 'wp_update_themes ' );
697
695
add_action ( 'load-update.php ' , 'wp_update_themes ' );
698
696
add_action ( 'load-update-core.php ' , 'wp_update_themes ' );
699
697
add_action ( 'admin_init ' , '_maybe_update_themes ' );
700
698
add_action ( 'wp_update_themes ' , 'wp_update_themes ' );
701
- add_action ( 'upgrader_process_complete ' , 'wp_update_themes ' , 10 , 0 );
702
699
703
700
add_action ( 'update_option_WPLANG ' , 'wp_clean_update_cache ' , 10 , 0 );
704
701
0 commit comments