Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    No, it’s still available.

    Can I check your site?

    Thread Starter tbnv

    (@tbnv)

    It’s not a problem to let you check the site but it’s not necessary, as you’d just see that CF7 scripts aren’t loaded. I just noticed that.

    Actually, I load the scripts on the contact page only, but it looks like wpcf7_enqueue_scripts doesn’t do its job anymore. As soon as I remove define('WPCF7_LOAD_JS', false); from wp-config.php, it’s working normally.

    CF7 <3.9 didn’t have that issue…

    Greetings,

    I am having the exact same issue as Sinklar. The problem appears only with contact form 3.9. I am also loading the scripts and styles only on specific pages:

    function mycustom_enqueue_scripts() {
       /* ... Various irrelevant stuff removed ... */
       /* Contact Form 7 Loading */
        if (function_exists('wpcf7_enqueue_scripts') and is_page()){
            if($SOME_CUSTOM_CHECK == 'True'){
                wpcf7_enqueue_scripts();
                wpcf7_enqueue_styles();
            }
        }
    }
    add_action("wp_enqueue_scripts", "mycustom_enqueue_scripts");

    Are you aware of any changes that could break the above code? For the time being we are holding back on the upgrade.

    Thank you,
    Peter

    Same problem here!
    After updating to CF7 v3.9 the conditional JS and CSS files don’t load anymore.

    In my case, I’m just conditionally loading the CF7 files in the contact page using this method: https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/

    Thank you
    Damia

    Good news everyone!

    The author responded in this post that he is aware of the issue and will fix it soon.

    Yours sincerely,
    Peter

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Acceptance function not working anymore’ is closed to new replies.