Filter for installed plugins in validate_plugin()
|Reported by:||jfarthing84||Owned by:|
I believe that there should be a filter for the installed plugins list generated by the get_plugins() function within the validate_plugin() function.
My reason is that a plugin I am creating uses it's own "modules" that are similar to plugins, or rather, plugins for a plugin. I could almost use the native WP plugin functions with the filters already there, except for getting the list of installed plugins, as my "modules" will be stored in a folder within the plugin folder.
This one function inhibits the use of any of the native WP functions for this situation because it is used by validate_plugin() which is used by activate_plugin(). So, in my situation, I have to clone all these functions, just to add to the list of installed functions.
This could all be avoided with a simple filter.
Change History (11)
- Keywords changed from dev-feedback, has-patch to dev-feedback has-patch
- Milestone changed from Unassigned to 3.0