Plugins list should respect module status
kingandy - February 19, 2008 - 09:53
| Project: | Link to content |
| Version: | 5.x-2.x-dev |
| Component: | User interface |
| Category: | task |
| Priority: | normal |
| Assigned: | stBorchert |
| Status: | closed |
Jump to:
Description
When generating the 'Enabled Plugins' and 'Disabled Plugins' list, the core module should only display a plugin module if it passes a module_exists() check:
<?php
if ( module_exists('linktocontent_category') ) {
...
}
?>(This check should probably also run whenever else the plugin modules are used, referenced or processed.)
At present, the plugins list seems to be generated based on some variable or database value that is created/inserted on plugin module installation (via the linktocontent_register function), and does not get cleared until module uninstallation (when it calls linktocontent_unregister()). This is not appropriate, as it causes errors when a plugin module is deactivated but not uninstalled. It should be possible to deactivate a plugin without uninstalling it and thus losing all configuration information.
Cheers
Andy

#1
Hi, Andy.
Don't get frightened, I postpone it to be in version 5.2.x (which will hopefully be released within the next weeks).
greetings,
Stefan
#2
moved task to new development version
#3
task is active
#4
Fixed in current 5.x.2.x-dev (should be available for download in a few hours).
#5
Automatically closed -- issue fixed for two weeks with no activity.