Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#51731 new feature request

Add the reason for deactivation to the 'deactivate_plugin' hook.

Reported by: merlijnvanlent's profile merlijnvanlent Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Plugins Keywords: needs-patch
Focuses: administration Cc:


To be able to check if a plugins was disabled by a user action or because of the 'validate_active_plugins' check that is done on when visiting the plugins.php page would be great from a management perspective. Many WordPress installations have some required plugins which are not necessary for the site to work but do need to be active for one reason or another. This enables the option to notify the admin when a plugin gets disabled by accident because of a failed updated or any other reason.

Change History (1)

#1 @johnbillion
4 years ago

  • Keywords needs-patch added
  • Version 5.5.2 deleted

This is a good idea.

Note: See TracTickets for help on using tickets.