Skip to content

Commit c1e126e

Browse files
committed
Merge branch 'jkirrane-issues/19-filter-for-api_support_integrity'
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2 parents 2aa46f9 + 59267d1 commit c1e126e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Nunil_Manipulate_DOM.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,8 @@ private function api_support_integrity( $sourcestr ) {
924924
'cookie-cdn.cookiepro.com', // https://wordpress.org/support/topic/cookie-pro-script-gets-blocked-from-time-to-time/ .
925925
);
926926

927+
$not_sri_sources = apply_filters( 'no_unsafe_inline_not_sri_sources', $not_sri_sources );
928+
927929
foreach ( $not_sri_sources as $source ) {
928930
if ( false !== strpos( $sourcestr, $source ) ) {
929931
// We found the not_sri_string in $sourcestr.

0 commit comments

Comments
 (0)