discourse/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.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
filter_manager.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
instance.rb FIX: Don’t apply callbacks from disabled plugins (#35630) 2025-10-30 10:04:17 +01:00
metadata.rb DEV: Add discourse-doc-categories to metadata (#34920) 2025-09-26 17:12:21 +08:00