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