The discussion addresses a performance issue caused by disabled plugins still executing queries, even when inactive. RGJ highlights that plugins like topic voting inject queries despite being disabled, referencing code in the plugin’s filter and registration logic. tgxworld acknowledges the report and tags it as #pri-medium. loic explains a PR has been submitted to fix the issue by making register_* calls behave properly, and confirms the PR has been merged. RGJ expresses gratitude, and loic follows up by creating a PR to backport the fix, ensuring broader compatibility.
The code should be fenced with SiteSetting.topic_voting_enabled. Or maybe calls like register_search_advanced_filter should behave more like add_to_serializer and check if the plugin is enabled.