Manage Extensions - Hide nag for core exts
Overview
The "Manage Extensions" screen has a nag about whether to trust extensions. It should be toggled (or at least rephrased) for core extensions.
This issue is based on MM comment/observation from @colemanw
Example use-case
- Navigate to "Administer => System Settings => Extensions"
- Choose "Install" for any core extension
Current behaviour
The screen shows this message:
Installing this extension will provide you with new functionality.
Please make sure that the extension you're installing comes from a trusted source.
Do you want to continue?
Proposed behaviour
If the extension lives in civicrm-core
(or specifically the civiroot extension dir), then either:
- Just show first+third sentences. (Skip the middle sentence.)
- Don't show the warning