WordPress 4.6.1
[autoinstalls/wordpress.git] / wp-admin / includes / class-language-pack-upgrader.php
index 358a01e55a7dee4881148c0d84c5909feeac7af8..8591276f8e4fbe3d80a4575dd869598f6a9aa6ab 100644 (file)
@@ -282,9 +282,9 @@ class Language_Pack_Upgrader extends WP_Upgrader {
 
                // Re-add upgrade hooks.
                add_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
-               add_action( 'upgrader_process_complete', 'wp_version_check' );
-               add_action( 'upgrader_process_complete', 'wp_update_plugins' );
-               add_action( 'upgrader_process_complete', 'wp_update_themes' );
+               add_action( 'upgrader_process_complete', 'wp_version_check', 10, 0 );
+               add_action( 'upgrader_process_complete', 'wp_update_plugins', 10, 0 );
+               add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0 );
 
                $this->skin->bulk_footer();