dregad / mantisbt (fix-16706-master)
Build #52 passed.
7 minutes and 16 seconds
Damien Regad f28e7f1 Changeset →
  Prevent plugin pages access when upgrade pending

If a plugin's code has been upgraded, but the schema is still on the old
version, the plugin is effectively disabled (i.e. its entry points are
not displayed). However, it was still possible to access individual
pages directly, which could lead to errors.

This commit adds an extra check in plugin.php which triggers an error
when the plugin needs to be upgraded.

Fixes #16706

Would you like to test your private code?

Travis Pro could be your new best friend!