Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#41646 new feature request

activate.php and deactivate.php for Plugins

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


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
7 years ago

Previously: #24670

Note: See TracTickets for help on using tickets.