Skip to content

Commit 9343b06

Browse files
authored
Scheduled Updates: Accept 10 plugins to update (#36361)
1 parent ce4519e commit 9343b06

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: fixed
3+
4+
Fixed a bug where the cron callback did not accept more than one plugin to update.

projects/packages/scheduled-updates/src/class-scheduled-updates.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static function init() {
3838
return;
3939
}
4040

41-
add_action( 'jetpack_scheduled_update', array( __CLASS__, 'run_scheduled_update' ) );
41+
add_action( 'jetpack_scheduled_update', array( __CLASS__, 'run_scheduled_update' ), 10, 10 );
4242
add_action( 'rest_api_init', array( __CLASS__, 'add_is_managed_extension_field' ) );
4343
add_filter( 'auto_update_plugin', array( __CLASS__, 'allowlist_scheduled_plugins' ), 10, 2 );
4444
add_filter( 'plugin_auto_update_setting_html', array( __CLASS__, 'show_scheduled_updates' ), 10, 2 );

0 commit comments

Comments
 (0)