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 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Plugins | Keywords: | needs-patch |
Focuses: | administration | Cc: |
Description
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.
Note: See
TracTickets for help on using
tickets.
This is a good idea.