id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses
9562,mu-plugins do not call activate/deactivate(),Denis-de-Bernardy,,"When you add a plugin into the mu-plugins folder, it will not run activate() and deactivate() as it should the first time it is used.
We should at least try to run activate(), so as to set up new database tables and other once-only actions.
One potential workflow could be:
- We scan every php file as we currently do, but keep a trace of what was included
- After including each plugin, we check that it exists in a mu_plugins array
- If not, we activate on the fly
- We strip the mu_plugins array of plugins that were not included and save if relevant
",defect (bug),closed,normal,,Plugins,2.8,normal,wontfix,dev-feedback,,