Closed franz-josef-kaiser closed 9 years ago
Simply defining DISALLOW_FILE_MODS
has the same effect. No need of any filter.
Filters are required only for fine grained control.
I don't think it worth to add that to wpstarter. Not in that form, at least.
Maybe we can add support for a new environment var that allows a more user friendly and centralized setup.
E.g. AUTO_UPDATES_STRATEGY
or something like that.
Let's just say it's not worth it
Note to whoever reads this ticket in the future: There's this WP.SE question around DISALLOW_FILE_MODS
and this years old Trac ticket that clearly explains the UI problems around that topic. Also looking at the code, the constant and the core structure would make adding a new constant pretty much useless. Maybe inspect filter vs. constants and the differences it makes … in case someone has too much time on their table.
As Twitter did just go wild on that, we should consider adding one additional mu-plugin to the setup (or recommend installing it):
Not sure if we should throw in all options and add an explanation, or simply just close everything off.