Skip to content

Remove dead widget plugin template lookup - #3447

Open
Salvialf wants to merge 1 commit into
developfrom
refactor/cmd-dead-widget-template
Open

Remove dead widget plugin template lookup#3447
Salvialf wants to merge 1 commit into
developfrom
refactor/cmd-dead-widget-template

Conversation

@Salvialf

Copy link
Copy Markdown
Contributor

The dedicated template lookup for the (deprecated, obsolete on the market) widget plugin in cmd::getWidgetTemplateCode() was dead code.

Its result was always immediately discarded by the following unconditional getTemplate(..., $this->getEqType()) call added in a 2023 commit, which overwrites $template regardless of what the widget block found. Even without that, the check was already redundant: the generic plugin::listPlugin(true) fallback loop right after tests every active plugin's own template folder using the same active condition, so an active widget plugin would already be picked up there.

@Salvialf Salvialf added the changelog-dev Use to generate release notes / changelog To be apply on PR label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-dev Use to generate release notes / changelog To be apply on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant