diff --git a/functions.php b/functions.php index a1c8315f7..8f6ae8900 100644 --- a/functions.php +++ b/functions.php @@ -4442,6 +4442,7 @@ function tag_is_valid($tag) { if ($tag == '') return false; if (preg_match("/^[0-9]*$/", $tag)) return false; + if (mb_strlen($tag) > 250) return false; if (function_exists('iconv')) { $tag = iconv("utf-8", "utf-8", $tag);