[wp-trac] [WordPress Trac] #51731: Add the reason for deactivation to the 'deactivate_plugin' hook.
WordPress Trac
noreply at wordpress.org
Mon Nov 9 14:28:12 UTC 2020
#51731: Add the reason for deactivation to the 'deactivate_plugin' hook.
-----------------------------+-----------------------------
Reporter: merlijnvanlent | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 5.5.2
Severity: normal | Keywords:
Focuses: administration |
-----------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51731>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list