Changeset 31708 for trunk/src/wp-includes/update.php
- Timestamp:
- 03/10/2015 11:19:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r31701 r31708 664 664 delete_site_transient( 'update_core' ); 665 665 } 666 667 if ( ( ! is_main_site() && ! is_network_admin() ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { 668 return; 669 } 670 671 add_action( 'admin_init', '_maybe_update_core' ); 672 add_action( 'wp_version_check', 'wp_version_check' ); 673 add_action( 'upgrader_process_complete', 'wp_version_check', 10, 0 ); 674 675 add_action( 'load-plugins.php', 'wp_update_plugins' ); 676 add_action( 'load-update.php', 'wp_update_plugins' ); 677 add_action( 'load-update-core.php', 'wp_update_plugins' ); 678 add_action( 'admin_init', '_maybe_update_plugins' ); 679 add_action( 'wp_update_plugins', 'wp_update_plugins' ); 680 add_action( 'upgrader_process_complete', 'wp_update_plugins', 10, 0 ); 681 682 add_action( 'load-themes.php', 'wp_update_themes' ); 683 add_action( 'load-update.php', 'wp_update_themes' ); 684 add_action( 'load-update-core.php', 'wp_update_themes' ); 685 add_action( 'admin_init', '_maybe_update_themes' ); 686 add_action( 'wp_update_themes', 'wp_update_themes' ); 687 add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0 ); 688 689 add_action( 'update_option_WPLANG', 'wp_clean_update_cache' , 10, 0 ); 690 691 add_action( 'wp_maybe_auto_update', 'wp_maybe_auto_update' ); 692 693 add_action( 'init', 'wp_schedule_update_checks' );
Note: See TracChangeset
for help on using the changeset viewer.