File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -264,14 +264,12 @@ function jq_content_security_policy() {
264
264
// The nonce is here so inline scripts can be used in the theme
265
265
'style-src ' => "'self' 'nonce- $ nonce' code.jquery.com " ,
266
266
// data: SVG images are used in typesense
267
- 'img-src ' => "'self' data: code.jquery.com " ,
267
+ // Allow gravatars in wordpress admins
268
+ 'img-src ' => "'self' data: secure.gravatar.com code.jquery.com " ,
268
269
'connect-src ' => "'self' typesense.jquery.com " ,
269
- 'font-src ' => "'self' " ,
270
+ // Allow data fonts for the wordpress admins
271
+ 'font-src ' => "'self' data: " ,
270
272
'object-src ' => "'none' " ,
271
- 'media-src ' => "'self' " ,
272
- 'frame-src ' => "'self' " ,
273
- 'child-src ' => "'self' " ,
274
- 'form-action ' => "'self' " ,
275
273
'frame-ancestors ' => "'none' " ,
276
274
'base-uri ' => "'self' " ,
277
275
'block-all-mixed-content ' => '' ,
You can’t perform that action at this time.
0 commit comments