WordPress.org

Make WordPress Core

Ticket #27633: 27633.diff

File 27633.diff, 1005 bytes (added by dd32, 6 years ago)
  • src/wp-includes/update.php

     
    617617add_action( 'load-update-core.php', 'wp_update_plugins' );
    618618add_action( 'admin_init', '_maybe_update_plugins' );
    619619add_action( 'wp_update_plugins', 'wp_update_plugins' );
    620 add_action( 'upgrader_process_complete', 'wp_update_plugins' );
     620add_action( 'upgrader_process_complete', 'wp_update_plugins', 10, 0 );
    621621
    622622add_action( 'load-themes.php', 'wp_update_themes' );
    623623add_action( 'load-update.php', 'wp_update_themes' );
    624624add_action( 'load-update-core.php', 'wp_update_themes' );
    625625add_action( 'admin_init', '_maybe_update_themes' );
    626626add_action( 'wp_update_themes', 'wp_update_themes' );
    627 add_action( 'upgrader_process_complete', 'wp_update_themes' );
     627add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0 );
    628628
    629629add_action( 'wp_maybe_auto_update', 'wp_maybe_auto_update' );
    630630