WordPress should support multiple or nested plugin directories
|Reported by:||scottnath||Owned by:||scottnath|
WordPress currently only looks one directory deep for the plugin files. This is a limitation in get_plugins. It should look at least two (or more).
Our setup: We have many sites on WordPress and would like to share a set of plugins across them. However, we also have a requirement where each site should have its own unique set of plugins as well. (I realize this seems like an easy job for Multisite or mu=plugins, but they're not something we can adopt currently for various reasons).
Ideally, we can create a symlink (or external/submodule) to our shared plugins folder from inside the core plugins folder and have WordPress recognize plugins within that folder:
- plugins Folder
- shared-plugins (symlink)
- shared-plugins folder
Currently, WordPress will ignore both hello-dolly-enhanced and akismet-enhanced.
Themes already support nested folder; plugins should too please!