WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Contact Form 7] jquery.form.js file

[Plugin: Contact Form 7] jquery.form.js file

  • Byron

    @bennebw

    This latest of CF 7 is using the latest version of jquery.form.js file (not the one standard delivered with WP). This new version of that file might cause issues with plugins that are using it. You may need to tweak your plugins to make them compatible, assuming WP will eventually upgrade to that version.

    Just an FYI.

    Byron

    http://wordpress.org/extend/plugins/contact-form-7/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Byron

    @bennebw

    As a follow on…the issue with the latest version of jquery.form.js is that it requires you to put your JSON code in textarea tags if you’re uploading files (this uses iframes and they’re saying the textarea tags make that work better) like this:
    <textarea> ...JSON goes here... </textarea>

    If your server code doesn’t wrap your JSON in the textarea, it just dies when it hits the client browser. Wrap it in textarea, and it works.

    The good news is that it appears that wrapping your JSON in the textarea still works with the old version of jquery.form.js that is delivered via WP. So, if you update your plugin to be compatible with the new version, it should still work with the old version as well…at least my testing has done so. I’d love to know if you find out different!

    Cheers to all!
    Byron

    Byron

    @bennebw

    BTW, read all about the textarea issue in the jquery.form.js file at the source: http://jquery.malsup.com/form/#file-upload

    Hasta!
    Byron

    Plugin Author Takayuki Miyoshi

    @takayukister

    FYI. jquery.form.js bundled with WordPress (old v2.02) is “deprecated”.

    http://core.trac.wordpress.org/browser/tags/3.0.1/wp-includes/script-loader.php#L144

    It won’t be updated and might be removed someday.

    The current version of jquery.form.js is 2.47 and the developer (Thank you, Mike Alsup!) is continuing development. Anyway using latest version is always safe.

    Byron

    @bennebw

    Thanks for the info. I’ll have to be on the lookout for when they remove it.

    BB

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Contact Form 7] jquery.form.js file’ is closed to new replies.