• Resolved ventseslav8

    (@ventseslav8)


    I use this plugin with Shortcodes Enabler plugin that allows to use external shortcodes inside CF7. Last version of Your plugin in someway disables the Shortcode enabler. I have to use previous version of your plugin which is not recommended.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kaspars

    (@kasparsd)

    Can you please confirm which plugin version exactly were you using before and which broke the shortcode functionality? In order to replicate the issue, please provide all the relevant information such as the exact name and version of the shortcode plugin and its configuration. Please also provide the relevant form setup on the CF7 side.

    Between versions 0.8.2 and 0.9.0 there we no changes in how the form processing works. Could it be that one of the latest Contact Form 7 upgrades broke the processing instead?

    Version 0.8.2 did remove support for WPCF7_ShortcodeManager which has been removed from Contact Form 7 since 2016 per this documentation.

    • This reply was modified 2 months ago by Kaspars.
    Thread Starter ventseslav8

    (@ventseslav8)

    WP version 6.7.1

    CF7 version 6.0.3

    CF7 Shortcode Enabler version 1.1

    Shortcodes Ultimate version 7.3.3

    Controls for CF7 version 0.9.0

    I use shortcodes from Shortcodes ultimate in all my CF7 forms and they not working properly in this configuration. They start working only if I downgrade Controls for CF7 to version 0.8.2

    Version 0.8.2 did remove support for WPCF7_ShortcodeManager which has been removed from Contact Form 7 since 2016 per this documentation.

    From the documentation it seems it is not removed.

    WPCF7_ShortcodeManager is deprecated and the alternative is WPCF7_FormTagsManager

    Plugin Author Kaspars

    (@kasparsd)

    I just added a QR shortcode to a form using the latest versions of the plugins you mentioned and it is rendering correctly:

    Please share the exact setup, including all your individual form configurations (at least the relevant bits) to allow replicating the issue.

    Thread Starter ventseslav8

    (@ventseslav8)

    It happens only if I use “Disable automatic paragraph formatting in form output.” Thats the only option I use.

    Forms are nothing special. I use shortcodes mainly for tabs and columns.

    Plugin Author Kaspars

    (@kasparsd)

    Thanks for confirming the exact setting you were using to notice the difference in behaviour. I’ve been able to replicate the problem.

    Turns out it is a race condition with the Shortcode Enabler plugin which is also using the wpcf7_form_elements filter to enable the shortcodes at priority 10. In version 9.0.0 of Controls for CF7, the filter registration was moved to plugins_loaded which is after all other plugins are loaded, which made it reset the form output to the default version without the autop applied.

    I’m working on a patch now. I will also bring the native WordPress shortcode toggle feature to the plugin since it might be useful for others without having to install another plugin.

    Plugin Author Kaspars

    (@kasparsd)

    Version 0.10.0 is out now. It should both fix the issue and also add the option to control the native WordPress shortcode support from the “Controls” settings.

    Thread Starter ventseslav8

    (@ventseslav8)

    Works perfect now with the newest version!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.