The WordPress Must Use Plugins is an fine way to include without doings in back end. But WordPress does not load plugins in subdirectories, they must be at the root of the Must Use plugin directory, on default /wp-content/mu-plugins/. I would like to see a solution to load also plugins from directories for more structure inside this folder and no manual work on a include file from plugin folders.
this behaviour would be great and I would love for it to work like this
on the other hand: if you cowboy code your way around it (like you did, not saying it is bad code) in some way, the changed loading process might create a lot of issues
The WordPress Must Use Plugins is an fine way to include without doings in back end. But WordPress does not load plugins in subdirectories, they must be at the root of the Must Use plugin directory, on default
/wp-content/mu-plugins/
. I would like to see a solution to load also plugins from directories for more structure inside this folder and no manual work on a include file from plugin folders.A current solution for me is this plugin: https://github.com/bueltge/Must-Use-Loader