WordPress.org

Make WordPress Core

Opened 9 months ago

Last modified 9 months 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.

Change History (1)

#1 @johnbillion
9 months ago

  • Keywords needs-patch added
  • Version 5.5.2 deleted

This is a good idea.

Note: See TracTickets for help on using tickets.