We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30965dd commit 9f33005Copy full SHA for 9f33005
includes/class-fs-plugin-updater.php
@@ -542,7 +542,7 @@ function pre_set_site_transient_update_plugins_filter( $transient_data ) {
542
543
global $wp_current_filter;
544
545
- if ( ! empty( $wp_current_filter ) && 'upgrader_process_complete' === $wp_current_filter[0] ) {
+ if ( ! empty( $wp_current_filter ) && in_array( 'upgrader_process_complete', $wp_current_filter ) ) {
546
return $transient_data;
547
}
548
0 commit comments