WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Deregister script? (2 posts)

  1. MickeyRoush
    Member
    Posted 2 years ago #

    With the latest update and usage of the more up to date jquery.form.js I can no longer deregister the script like I had it before.

    I noticed this:

    function wpcf7_enqueue_scripts() {
    	// jquery.form.js originally bundled with WordPress is out of date and deprecated
    	// so we need to deregister it and re-register the latest one
    	wp_deregister_script( 'jquery-form' );
    	wp_register_script( 'jquery-form', wpcf7_plugin_url( 'jquery.form.js' ),
    		array( 'jquery' ), '3.08', true );

    If anyone has any ideas it would be greatly appreciated as I only need this script running on the contact page. Thanks.

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

  2. MickeyRoush
    Member
    Posted 2 years ago #

    Ok, it seems like I can still do it on several of my other sites. Just having issues with a new install. If anyone has any ideas, I'm still open for suggestions.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic