MocioF / No-unsafe-inline

A wordpress plugin to set Content Security Policy (CSP) without using the 'unsafe-inline' keyword for script-src
https://wordpress.org/plugins/no-unsafe-inline/
GNU General Public License v2.0
12 stars 3 forks source link

Use get_home_url() instead of get_site_url() #8

Closed huubl closed 1 year ago

huubl commented 1 year ago

Prevents adding subdirectory to url (see: https://wordpress.stackexchange.com/questions/20294/whats-the-difference-between-home-url-and-site-url/324696#324696)

MocioF commented 1 year ago

Added a check for multisite installation. Thanks for your suggestion.