Changes in trunk/src/wp-includes/update.php [25544:25566]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r25544 r25566 159 159 // Check for update on a different schedule, depending on the page. 160 160 switch ( current_filter() ) { 161 case 'upgrader_process_complete' : 162 $timeout = 0; 163 break; 161 164 case 'load-update-core.php' : 162 165 $timeout = MINUTE_IN_SECONDS; … … 284 287 // Check for update on a different schedule, depending on the page. 285 288 switch ( current_filter() ) { 289 case 'upgrader_process_complete' : 290 $timeout = 0; 291 break; 286 292 case 'load-update-core.php' : 287 293 $timeout = MINUTE_IN_SECONDS; … … 486 492 add_action( 'admin_init', '_maybe_update_core' ); 487 493 add_action( 'wp_version_check', 'wp_version_check' ); 494 add_action( 'upgrader_process_complete', 'wp_version_check' ); 488 495 489 496 add_action( 'load-plugins.php', 'wp_update_plugins' ); … … 492 499 add_action( 'admin_init', '_maybe_update_plugins' ); 493 500 add_action( 'wp_update_plugins', 'wp_update_plugins' ); 501 add_action( 'upgrader_process_complete', 'wp_update_plugins' ); 494 502 495 503 add_action( 'load-themes.php', 'wp_update_themes' ); … … 498 506 add_action( 'admin_init', '_maybe_update_themes' ); 499 507 add_action( 'wp_update_themes', 'wp_update_themes' ); 508 add_action( 'upgrader_process_complete', 'wp_update_themes' ); 500 509 501 510 // Automatic Updates - Cron callback
Note: See TracChangeset
for help on using the changeset viewer.