WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Contact Form 7] More IE7 Problems

[Plugin: Contact Form 7] More IE7 Problems

  • I’ve searched through the support forums and tried all the suggestions, but the spinning gif just hangs when I try to submit the form in IE7.

    The form is currently being placed on the front page through a customized loop, but if you look at the form on the page where the form is actually placed and test, it works.

    You can view the buggy form at http://new.aqueouschurch.com
    You can also view the working form on http://new.aqueouschurch.com/?page_id=18

    Any ideas?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Fixed –

    wp-contact-form-7.php, change line 909 from

    $url = $url['path'] . (empty($url['query']) ? '' : '?' . $url['query']) . '#' . $unit_tag;

    to

    $url = $url['path'] . '?' . $url['query'] . '#' . $unit_tag;

    I tested and this works in both use cases above. I don’t know anything about PHP really, so someone let me know if they find a problem with the code. IE7 needs that question mark to submit the form correctly.

    The problem is the parenthesis:

    $url = $url[‘path’] . (empty($url[‘query’]) ? ” : ‘?’ . $url[‘query’]) . ‘#’ . $unit_tag;

    to

    $url = $url[‘path’] . (empty($url[‘query’])) ? ” : ‘?’ . $url[‘query’] . ‘#’ . $unit_tag;

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form 7] More IE7 Problems’ is closed to new replies.
Skip to toolbar