Skip to content

Commit cc20d68

Browse files
committed
All: enable CSP report header on production sites
1 parent 946b251 commit cc20d68

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

themes/jquery/functions.php

-3
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,6 @@ function jq_image_posted_on() {
256256
* Content Security Policy
257257
*/
258258
function jq_content_security_policy() {
259-
if ( !JQUERY_STAGING ) {
260-
return;
261-
}
262259
$nonce = bin2hex( random_bytes( 8 ) );
263260
$report_url = 'https://csp-report-api.openjs-foundation.workers.dev/';
264261
$policy = array(

0 commit comments

Comments
 (0)