Skip to content

Commit 31f0c09

Browse files
committed
1 parent 23f4cb8 commit 31f0c09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/jquery-filters.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@
115115
$policy[ 'style-src' ] = "'self' 'unsafe-inline' code.jquery.com";
116116
} elseif ( get_option( 'jquery_is_blog' ) ) {
117117
// Allow <style> in blog posts
118-
$policy[ 'style-src' ] = "'self' 'unsafe-inline' code.jquery.com";
118+
// Allow re-use of blog post attachments between blog.jquery.com, blog.jqueryui.com, and blog.jquerymobile.com
119+
$policy[ 'style-src' ] = "'self' 'unsafe-inline' code.jquery.com blog.jquery.com blog.jqueryui.com blog.jquerymobile.com";
119120
}
120121

121122
$policy_string = '';

0 commit comments

Comments
 (0)