View Issue Details

IDProjectCategoryView StatusLast Update
0027302mantisbtplug-inspublic2021-03-07 18:29
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version2.25.0Fixed in Version2.25.0 
Summary0027302: Force-installed plugins are not registered in order of priority
Description

The $g_plugins_force_installed config allows admins to force installation and protection of plugins. PHPDoc defines it as an array of key/value pairs consisting of the plugin basename and priority, but plugin_register_installed() actually ignores the priority and registers the forced plugins following the order in which they are defined in the config instead.

TagsNo tags attached.

Activities

Related Changesets

MantisBT: master 22791438

2020-09-20 05:34

dregad


Details Diff
Register forced plugins in order of priority

Commit also replaces the legacy db_query() call by a DbQuery object
in function plugin_register_installed().

Fixes 0027302
Affected Issues
0027302
mod - core/plugin_api.php Diff File