Skip to content

Fix plugin compatibility warning when plugins admin is disabled#24429

Open
predictor2718 wants to merge 1 commit intomatomo-org:5.x-devfrom
predictor2718:fix/23941-plugin-admin-disabled-warning
Open

Fix plugin compatibility warning when plugins admin is disabled#24429
predictor2718 wants to merge 1 commit intomatomo-org:5.x-devfrom
predictor2718:fix/23941-plugin-admin-disabled-warning

Conversation

@predictor2718
Copy link
Copy Markdown

@predictor2718 predictor2718 commented Apr 28, 2026

When enable_plugins_admin = 0 is configured, the warning about incompatible plugins still showed a link to the Manage Plugins page — which is inaccessible in that configuration.

Changes

  • core/Plugin/ControllerAdmin.php: check CorePluginsAdmin::isPluginsAdminEnabled() before rendering the Manage Plugins link; show alternative text if admin is disabled
  • plugins/CoreAdminHome/lang/en.json: new translation key InvalidPluginsAdminDisabled

Fixes #23941

Before Fix:

bug-before

After Fix:

bug-after

Checklist

  • I have understood, reviewed, and tested all AI outputs before use
  • All AI instructions respect security, IP, and privacy rules

@predictor2718 predictor2718 force-pushed the fix/23941-plugin-admin-disabled-warning branch from 1751917 to 5888059 Compare April 30, 2026 06:59
@sgiehl sgiehl force-pushed the fix/23941-plugin-admin-disabled-warning branch from 5888059 to 675b5fb Compare April 30, 2026 13:38
@predictor2718
Copy link
Copy Markdown
Author

Could a maintainer please set the milestone to 5.10.0? Thank you!

@sgiehl sgiehl requested a review from a team April 30, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] When plugin admin is disabled, update warning about plugin compatibility

1 participant