From f0514ed25e4366327e4cb9587eea48b9108c66dd Mon Sep 17 00:00:00 2001 From: Logical Arts LLC Date: Thu, 20 Aug 2015 19:53:54 -0700 Subject: [PATCH] make the filters non-case sensitive --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index b441f4ef..0f252c53 100644 --- a/functions.php +++ b/functions.php @@ -840,7 +840,7 @@ function xss_clean($str) $str = preg_replace('#<\s?/?\s*[Ss]\s*[cC]\s*[rR]\s*[iI]\s*[pP]\s*[tT]#', '', $str); // Removed ;base64 data usage - $str = preg_replace('#data:*[^;]+;base64,#', 'nodatabase64', $str); + $str = preg_replace('#data:*[^;]+;base64,#i', 'nodatabase64', $str); do { // Remove really unwanted tags