diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-04-04 13:46:44 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-04-04 13:46:44 +0400 |
| commit | 78ccac0bdd34cfa1f8f6c724771b12ea3554f451 (patch) | |
| tree | 6ef4280bdedabf0d2baa24ed9a050b39588e74a8 | |
| parent | 364e3c859d7d6c039438533f3f04939778509cef (diff) | |
sanitize_tag: block single quote symbol
| -rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 3ed2a1966..7c3e8d0a3 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); |