Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#2916 closed enhancement (wontfix)

More enhancement to plugin system

Reported by: pcdinh's profile pcdinh Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Optimization Keywords: plugin activation
Focuses: Cc:


The current plugin system is really good. However, I think that it would be better if we can extend it to require each plugin to define:

1.beforeActivationAction(): do something before activate a plugin, such as altering a table, copying or moving some files...
2.afterDeactivationAction(): return the original status of the system.

Do you think that would be neccessary?



Change History (2)

#1 @masquerade
16 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

See: register_activation_hook(), register_deactivation_hook(). They are not required, and should never be, a simple plugin shouldn't have to feature bloat, but they are there for those who need them.

#2 @Nazgul
15 years ago

  • Milestone 2.1 deleted
Note: See TracTickets for help on using tickets.