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() {
294
294
// Allow inline styles for typekit
295
295
'style-src ' => "'self' 'unsafe-inline' code.jquery.com " ,
296
296
// 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 " ,
298
299
// 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 " ,
300
302
'object-src ' => "'none' " ,
301
303
'frame-ancestors ' => "'none' " ,
302
304
'block-all-mixed-content ' => '' ,
You can’t perform that action at this time.
0 commit comments