File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -294,9 +294,11 @@ function twentyeleven_content_security_policy() {
294294 // Allow inline styles for typekit
295295 'style-src ' => "'self' 'unsafe-inline' code.jquery.com " ,
296296 // Leaving out typekit img-src, which only loads the p.gif for analytics
297- 'img-src ' => "'self' code.jquery.com " ,
297+ // Allow data: images and gravatars for the wordpress admin
298+ 'img-src ' => "'self' data: secure.gravatar.com code.jquery.com " ,
298299 // Allow fonts from typekit
299- 'font-src ' => "'self' use.typekit.net " ,
300+ // Allow data: fonts for the wordpress admin
301+ 'font-src ' => "'self' data: use.typekit.net " ,
300302 'object-src ' => "'none' " ,
301303 'frame-ancestors ' => "'none' " ,
302304 'block-all-mixed-content ' => '' ,
You can’t perform that action at this time.
0 commit comments