Hello. Do we have a chance that Deeplink Juggernaut module of SEO Ultimate will support cyrillic symbols? I would be happy to use it on russian sites. Thanks
Hello. Do we have a chance that Deeplink Juggernaut module of SEO Ultimate will support cyrillic symbols? I would be happy to use it on russian sites. Thanks
There is a problem in word boundary detection in Unicode strings.
in /includes/jlfunctions/str.php:207 replace this one
$search_regex = "/\b($search)\b(?!(?:(?!<\/?(?:$exclude_tags).*?>).)*<\/(?:$exclude_tags).*?>)(?![^<>]*>)/imsU";
to this one
switch (mb_detect_encoding($search)) {
case 'UTF-8':
$search_regex = "/($search)(?!(?:(?!<\/?(?:$exclude_tags).*?>).)*<\/(?:$exclude_tags).*?>)(?![^<>]*>)/imsu";
break;
default:
$search_regex = "/\b($search)\b(?!(?:(?!<\/?(?:$exclude_tags).*?>).)*<\/(?:$exclude_tags).*?>)(?![^<>]*>)/imsu";
break;
}Thank you so much. Works like charm now..
You must log in to post.