matomo-org / matomo-for-wordpress

Get a fully functioning Matomo Analytics for your WordPress. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Privacy is built-in. 100% data ownership, no one else can see your data. We love Pull Requests!
https://matomo.org
GNU General Public License v3.0
120 stars 25 forks source link

Use script methods provided in WP to append the script tags to support CSP in Admin #426

Open tsteur opened 3 years ago

tsteur commented 3 years ago

see https://make.wordpress.org/core/2021/02/23/introducing-script-attributes-related-functions-in-wordpress-5-7/

Not sure when we can actually use this since obviously older WP versions wouldn't have this. Not sure if this will be used by WP in the admin. I suppose it won't be relevant any time soon as it would take a while for most plugins to be compatible.

This issue is purely re the admin part of Matomo (ideally including the Matomo reporting/admin UI), not just the WP admin screens.

mattmary commented 2 years ago

Hello @tsteur

This issue could be closed, isn't it?

tsteur commented 2 years ago

I think this wasn't done yet? This issue is about the WP Admin if they support this feature there.

mattmary commented 2 years ago

You're right, it's not done yet: I misunderstood with another issue. Forget it, sorry