[wp-trac] [WordPress Trac] #39941: Allow using Content-Security-Policy without unsafe-inline
WordPress Trac
noreply at wordpress.org
Fri Feb 19 19:32:58 UTC 2021
#39941: Allow using Content-Security-Policy without unsafe-inline
-------------------------------------------------+-------------------------
Reporter: tomdxw | Owner:
| adamsilverstein
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.7
Component: Security | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs-dev- | Focuses: javascript
note |
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
> Since the functions added in [50167] are all script-specific, I think
wp-includes/script-loader.php would be a better place for them than the
wp-includes/functions.php catch-all.
@SergeyBiryukov that makes sense, thanks for the feedback. I'll prepare a
patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39941#comment:88>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list