Bug and potential fix
-
Hello! Thank you for the great plugin that we use on almost all our websites!
I noticed a little bug in the styles php files that could lead to trouble if left unchecked.
ex : ultimate-carousel-for-visual-composer/render/includes/style3.phpOn line 27, you have :
<?php $content = get_the_content(); echo mb_strimwidth($content, 0, $excerpt, '...'); ?>In an article, I had a link that got cut off by the trimwidth function. I lead to the whole carousel not working due to malformed html.
You could do :
<?php $content = wp_filter_nohtml_kses(get_the_content()); echo mb_strimwidth($content, 0, 110, '...'); ?>to prevent this issue.
Regards,
Alexandre Payen
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bug and potential fix’ is closed to new replies.