[wp-trac] [WordPress Trac] #63596: The upgrader_process_complete hook doesn't fire during bulk updates

WordPress Trac noreply at wordpress.org
Thu Jun 19 05:21:39 UTC 2025


#63596: The upgrader_process_complete hook doesn't fire during bulk updates
-----------------------------+-----------------------------
 Reporter:  vipulpatil       |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 **Summary**
 The upgrader_process_complete action hook is not triggered during bulk
 plugin updates, causing plugins that depend on post-upgrade actions to
 malfunction.

 **Steps to Reproduce**
 Install plugins that hook into upgrader_process_complete (e.g., caching
 plugins, backup plugins)
 Perform a bulk plugin update from Admin → Plugins → Select multiple
 plugins → Update
 Observe that post-upgrade actions (cache clearing, notifications, etc.)
 don't execute

 **Expected Behavior**
 The upgrader_process_complete hook should fire consistently for both
 individual and bulk updates, allowing plugins to perform necessary post-
 upgrade cleanup and maintenance tasks.

 **Actual Behavior**
 The hook only fires for individual updates. Bulk updates skip the hook due
 to an is_multi condition check in WP_Upgrader::run().

 **Impact**
 Caching plugins don't clear cache after bulk updates
 Security plugins miss configuration updates
 Backup plugins don't trigger post-update backups
 Plugin update notifications fail to send

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63596>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list