• Resolved Camilo

    (@camilo517)


    Hello
    -Thanks for the update, but could you minify the js file? Improve performance
    -When updating the recaptcha it is no longer displayed
    Edited: This happens when activating defer on js files, tested with WPRocket

    • This topic was modified 3 years, 8 months ago by Camilo.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    We can look in minifying files in a future version but the included JS file is not a large one by any means. As for WPRocket, is this something that is one the WordPress repository that you can link to? If this is a premium service you may need to reach out to their premium support.

    If you find that our plugin does not work we can also suggest some alternatives such as:
    Contact Form 7 Captcha
    Advanced noCaptcha & invisible Captcha (v2 & v3)

    Hopefully, if you find our plugin simply does not work in your case one of the above options is suitable.

    Finally, if you can link your website we may be able to look into this issue further.

    Thread Starter Camilo

    (@camilo517)

    @iqcomputing
    https://github.com/wp-media/wp-rocket
    When deactivating the option “Defer js” the captcha works again
    This could happen in more web optimization plugins

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    We were unable to install WP Rocket via Github and we cannot find it in the WordPress Repository. It may rely on another plugin via their premium services to be fully functional. We did test against multiple popular caching plugins from the WordPress Repository which include:

    – Jetpack
    – W3 Total Cache
    – WP Fastest Cache
    – Autoptimize

    Unfortunately, we’re not experiencing the issues that you’re running into with any of the listed plugins.

    This is certainly an issue we want to fix but without being able to debug what specifically is happening or being able to replicate the issue, any patch would be shots in the dark. We suggest opening a support ticket with WP Rocket. You can include a link to this support thread. If their team has suggestions we’re open to working with them to solve this issue.

    We apologize for any inconvenience this has caused. Hopefully you’re either able to find a resolution with their support or one of the linked plugins above can be used as an alternative to keep your forms spam free.

    – – – – –

    Since this version was just released today we want to give it some time to be updated by the community and field any support questions/issues that they run into before we patch any unknowns. We’ll leave this thread unresolved until we learn more.

    Thread Starter Camilo

    (@camilo517)

    You can open a ticket in github, I think it will be faster, what they will do is exclude your script from doing a defer
    What I did to solve this is add the “async” attribute to your script and so wp rocket does not process that script

    
    add_filter( 'script_loader_tag', 'iqfix_scripts_async', 10, 3 );
    function iqfix_scripts_async( $tag, $handle, $src ) {
    	if ( $handle !== 'wpcf7-recaptcha-controls' ) {
    		return $tag;
    	}
    	return "<script src='$src' async></script>";
    }
    
    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    You can open a ticket in github, I think it will be faster

    Unfortunately, because this is a premium plugin and not one available in the WordPress Repository it’s not something that we necessarily “support”. It’s better addressed via their premium support services and their support team. Since we cannot download the plugin for free and replicate the issues described we would not be able to supply their team with the technical information needed for them to replicate the issue on their end.

    In any case, it sounds like you’ve found a suitable solution. Adding async may be a good idea for us to add in a future release. Again, we do apologize for the inconvenience and will mark this thread as resolved for now. Stay safe and have a wonderful weekend!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘New version’ is closed to new replies.