Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict loading plugins files during NO_PLUGINS #4805

Open
dvz opened this issue Apr 25, 2024 · 0 comments
Open

Restrict loading plugins files during NO_PLUGINS #4805

dvz opened this issue Apr 25, 2024 · 0 comments
Labels
s:feedback Status: Feedback. Further information/input needed t:enhancement Type: Enhancement. Contains minor improvements

Comments

@dvz
Copy link
Contributor

dvz commented Apr 25, 2024

Avoid loading plugin files in the Admin CP's Plugins module when the Disable All Plugins setting (no_plugins) or the NO_PLUGINS constant are set.

While MyBB supports disabling plugins temporarily, the ACP plugin management functions still attempt to load the relevant files to perform relevant actions. In cases of broken plugins, users may thus be required to perform low-level operations to deactivate them (like editing the active plugins cache).

This may result in plugins referenced by codename only when in effect, and may be improved with the planned introduction of non-PHP manifest files for all extensions.

@dvz dvz added t:enhancement Type: Enhancement. Contains minor improvements s:feedback Status: Feedback. Further information/input needed labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:feedback Status: Feedback. Further information/input needed t:enhancement Type: Enhancement. Contains minor improvements
Projects
Status: Feedback
Development

No branches or pull requests

1 participant