Support » Plugin: Redirection for Contact Form 7 » Bug in non_ajax_redirection() function

  • Resolved buxner


    There is a mistake in the code in version 1.3.5 of this plugin.

    In wpcf7-redirect.php, line 345:
    if ( 'on' === $this->fields['external_url'] && $this->fields['use_external_url'] ) {

    I’m sure you see the problem — “external_url” is actually the URL string and “use_external_url” is the setting that can be “on”. The effect of this bug is that the functionality of redirecting to an external URL just isn’t working for us with this version of the plugin.

    We have a backup of version 1.2.9 of the plugin, and in that version the corresponding line correctly reads:
    if ( $this->fields['external_url'] && $this->fields['use_external_url'] == 'on' ) {

    Hopefully we can use this older version of the plugin so that the redirection will function, but we’d obviously much prefer to be able to use the latest patches with a fix.

    • This topic was modified 2 years, 1 month ago by buxner.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Yuval


    Hi @buxner,

    Thank you for the bug report. I’ll fix that next week. Please notice I’m not going to update the version number, since this is a minor bug and effects small number of users. I’ll update you here in this post when you can download the fix. You will just need to remove the plugin and download it again from the repository.


    Plugin Author Yuval


    Hi again,

    This issue has been resolved in v1.3.6.

    Thank you again for the bug report.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug in non_ajax_redirection() function’ is closed to new replies.