Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters