Skip to content

Commit f34334e

Browse files
committed
1 parent 31f0c09 commit f34334e

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,8 +115,9 @@
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";
118119
// 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";
120+
$policy[ 'img-src' ] = "'self' data: secure.gravatar.com code.jquery.com blog.jquery.com blog.jqueryui.com blog.jquerymobile.com";
120121
}
121122

122123
$policy_string = '';

0 commit comments

Comments
 (0)