This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6fe847423069d9bed7e6bc6c4fb4a9a12687c562 Mon Sep 17 00:00:00 2001 | |
From: Tom Adams <[email protected]> | |
Date: Tue, 4 Mar 2014 15:36:16 -0500 | |
Subject: [PATCH] s/$_POST/stripslashes_deep($_POST)/ | |
--- | |
by-email/by-email.php | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/by-email/by-email.php b/by-email/by-email.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var f=document.querySelectorAll('form');for(var i=0;i<f.length;i++){f[i].noValidate=true} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var f=document.querySelectorAll('form');for(var i=0;i<f.length;i++){f[i].noValidate=true} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: CSP | |
* Description: Uses inline_js() to make CSP happen | |
*/ | |
add_filter('inline_js_attributes', function ($attr) { | |
$nonce = wp_create_nonce('csp'); | |
return $attr . ' nonce="'.esc_attr($nonce).'" '; |
OlderNewer