discourse/spec/lib/plugin
Loïc Guitaut 2a7cb3dc00
FIX: Don’t apply callbacks from disabled plugins (#35630)
Currently, when a plugin is disabled, its various callbacks are still
taken into account. This can lead to performance issues.

This patch adds a check to most of the `register_*` methods a plugin can
use, so if the plugin is disabled, those callbacks won’t be applied.
2025-10-30 10:04:17 +01:00
..
filter_manager_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
instance_spec.rb FIX: Don’t apply callbacks from disabled plugins (#35630) 2025-10-30 10:04:17 +01:00
metadata_spec.rb FIX: Further improvements for plugin list (#24622) 2023-11-30 10:53:17 +10:00