Opened 7 years ago
Last modified 7 years ago
#41646 new feature request
activate.php and deactivate.php for Plugins
Reported by: |
|
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?
Note: See
TracTickets for help on using
tickets.
Previously: #24670