Skip Navigation

Conditional shortcodes are being malformed when inserted in page builders with the new shortcode format

Resolved

Reported for: Toolset Views 2.6.3

Resolved in: 2.6.4

Topic Tags: Views, Views plugin

Symptoms

When inserting a conditional shortcode using the GUI inside a Page Builder, it produces a shortcode following the new shortcode format that nests several single quotes, which break nested shortcodes in attributes.

Workaround

This issue will be fixed in the next version of Toolset Views.

In the meantime, this patch can be applied by unzipping it and uploading the files it contains to replace the ones with the same name. The files are:

  • toolset-shortcode.js in /vendor/toolset/toolset-common/res/js

Also, if you have another Toolset plugin installed, you might need to replace those same files in the exact same locations.

Comments are closed