lowercase tags using mb_convert_case(), which understands many more alphabets than I do.
This commit is contained in:
parent
932eab074d
commit
d3a72431be
|
@ -595,7 +595,8 @@ function common_tag_link($tag)
|
|||
|
||||
function common_canonical_tag($tag)
|
||||
{
|
||||
return strtolower(str_replace(array('-', '_', '.'), '', $tag));
|
||||
$tag = mb_convert_case($tag, MB_CASE_LOWER, "UTF-8");
|
||||
return str_replace(array('-', '_', '.'), '', $tag);
|
||||
}
|
||||
|
||||
function common_valid_profile_tag($str)
|
||||
|
|
Loading…
Reference in New Issue
Block a user