Vanilla 2.6 is here
! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2
with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
I am trying to do a plugin that would hook before a plugin is enable and checks all its dependencies recursively and enables them automatically. Unfortunatelly there is absolutely no event that fires before a plugin is enabled (only after it is) which is kind of the main nail in this plugin's coffin
Therefore, I would need an event before an event is enabled, actually, it would be even better before the plugin is even tested for requirements
in: /library/core/class.pluginmanager.php on line 583, something like
or in: /applications/dashboard/controllers/class.settingscontroller.php on line 636, something like:
Also, I intend on making this check for requirements for applications. I know they don't have application requirements as plugins should depend on applications and not the other way around, but sometimes you have a set of plugins that you need to use for multiple applications and you want to make sure that it is enabled before you want to enable your application.
So is it possible that for the next version release to have the hook(s) and maybe also some dependencies for applications just like plugins have?