WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] More IE7 Problems (3 posts)

  1. zaque
    Member
    Posted 5 years ago #

    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.

  2. zaque
    Member
    Posted 5 years ago #

    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.

  3. spungin
    Member
    Posted 5 years ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Topic