Make WordPress Core

Opened 3 months ago

Last modified 6 weeks ago

#59402 new defect (bug)

Plugin cannot be uninstalled if uninstall crashes

Reported by: kkmuffme's profile kkmuffme Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:


If a plugin register the "register_uninstall_hook" conditionally (e.g. only on activation,...) a plugin cannot be uninstalled anymore if it exits (e.g. timeout,...) during uninstall.

This is because the uninstall file/callback is removed from the option before the actual uninstall happens:

Change History (1)

#1 @sabernhardt
6 weeks ago

  • Component changed from General to Plugins
Note: See TracTickets for help on using tickets.