View Issue Details

IDProjectCategoryView StatusLast Update
0027302mantisbtplug-inspublic2020-09-25 15:13
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
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 09:34:53

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

Issue History

Date Modified Username Field Change
2020-09-20 09:30 dregad New Issue
2020-09-20 09:30 dregad Status new => assigned
2020-09-20 09:30 dregad Assigned To => dregad
2020-09-20 09:38 dregad Note Added: 0064460
2020-09-25 15:13 dregad Changeset attached => MantisBT master 22791438
2020-09-25 15:13 dregad Status assigned => resolved
2020-09-25 15:13 dregad Resolution open => fixed
2020-09-25 15:13 dregad Fixed in Version => 2.25.0