Make WordPress Core

Opened 9 years ago

Last modified 17 months ago

#41646 new feature request

activate.php and deactivate.php for Plugins

Reported by: michael.ecklund Owned by:
Priority: normal Milestone: Awaiting Review
Component: Plugins Version: 4.8.1
Severity: normal Keywords:
Cc: Focuses: administration

Description

There's currently a file for uninstall.php to simplify things. Alternatively, there's also a hook available.

There's hooks for plugin activation and deactivation. However, I think those hooks can be a bit tricky for newbie plugin developers.

I think by implementing a file for activate.php and deactivate.php could simply plugin development.

I'm totally fine using hooks for my own sake, but I just thought it could help simplify plugin development slightly. It might also make things easier on the code review team?

Change History (1)

#1 @jdgrimes
9 years ago

Previously: #24670

Note: See TracTickets for help on using tickets.