From 78ccac0bdd34cfa1f8f6c724771b12ea3554f451 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 4 Apr 2011 13:46:44 +0400 Subject: [PATCH] sanitize_tag: block single quote symbol --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 3ed2a196..7c3e8d0a 100644 --- a/functions.php +++ b/functions.php @@ -5498,7 +5498,7 @@ $tag = mb_strtolower($tag, 'utf-8'); - $tag = preg_replace('/[\"\+\>\<]/', "", $tag); + $tag = preg_replace('/[\'\"\+\>\<]/', "", $tag); // $tag = str_replace('"', "", $tag); // $tag = str_replace("+", " ", $tag); -- 2.39.2