WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/25/2016 07:35:07 PM (5 years ago)
Author:
ocean90
Message:

Upgrade: Allow update checks on upgrader_process_complete to be run during Ajax requests.

Fixes missing translation updates during shiny updates.

Fixes #36914.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/admin-filters.php

    r37221 r37570  
    110110// Upgrade hooks.
    111111add_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
     112add_action( 'upgrader_process_complete', 'wp_version_check', 10, 0 );
     113add_action( 'upgrader_process_complete', 'wp_update_plugins', 10, 0 );
     114add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0 );
Note: See TracChangeset for help on using the changeset viewer.