Standardized plugin activation file
|Reported by:||JD55||Owned by:|
For plugins uninstall, the standardized uninstall.php file has been introduced (see #5625), that is included only when a plugin is being deleted. There should be a similar file (maybe activate.php) included each time the plugin is activated. (We can't really do an install.php file, because there's no reliable way test whether a plugin is installed, it's plugin dependent.) This would allow plugin developers to separate and centralize their activation/installation code, rather than having to use register_activation_hook().