WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#41646 new feature request

activate.php and deactivate.php for Plugins

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

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
3 months ago

Previously: #24670

Note: See TracTickets for help on using tickets.