• Resolved bigbanks

    (@bigbanks)


    Hi,

    First of all big thanks for your wonderful anti-spam solution, which I use on multiple projects.

    I’ve seen your plugin change log and noticed that you already done some fixes regarding to WordPress 5.6 jQuery update.

    However I’m still facing that problem – “Uncaught ReferenceError: jQuery is not defined”, which refers to inline jQuery code from the plugin:

    jQuery( document ).ready( function ( $ ) {
    				var gforms = '.gform_wrapper form';
    				$( document ).on( 'submit', gforms, function () {
    					$( '<input>' ).attr( 'type', 'hidden' )
    						.attr( 'name', 'gf_zero_spam_key' )
    						.attr( 'value', '#' )
    						.appendTo( gforms );
    
    					return true;
    				} );
    			} );

    Would you have any suggestions on fix?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught ReferenceError: jQuery is not defined’ is closed to new replies.