Found a bug in WP Bakery

Found a bug in WP Bakery 6.2.0.

Add URL (Link) to a Custom Heading element, later remove it again by clearing the URL/Linktext fields, linktext in heading still gets wrapped with empty <a href="">..</a> in frontend.

Bug is in js_composer/include/templates/shortcodes/vc_custom_heading.php

Please fix/forward to plugin author.

Hello Netzwerk,

Thanks for reaching us. I can confirm this issue. I’ve submitted this to our issue tracker so the developers will be made aware of it.

Regards.

Line 25

extract( $this->getAttributes( $atts ) ); this sets $link to false, that’s fine, as expected…

$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts ); this sets $link to “|||” and causes bug as $link is not empty() later…

Thanks for the details. We already have posted this in our issue tracker so it would be forwarded to WPBakery developers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.