mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 16:31:57 +08:00
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. |
||
|---|---|---|
| .. | ||
| filter.rb | ||
| filter_manager.rb | ||
| instance.rb | ||
| metadata.rb | ||