WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] hidden fileds not working since new version of wordpres (5 posts)

  1. asisrodriguez
    Member
    Posted 8 months ago #

    Holle world,
    since yesterday, when update to last version, the hidden fields ([hidden post_title] [hidden post_url] [hidden post_category] [hidden post_date]) in my forms has stopped to work. even more: they appear in the form in every post.
    please, help and thanks in advanced.
    Asis
    http://www.instrumentacionhoy.com

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

  2. Mohsin.digitalpoin8
    Member
    Posted 8 months ago #

    i have also found this error .
    Please Help...

  3. kilroy05
    Member
    Posted 7 months ago #

    I don't have the time to debug more right now (perhaps tomorrow)
    A quick fix is to replace in hidden.php on line 28
    add_action('plugins_loaded', 'contact_form_7_hidden_fields', 10);
    with
    add_action( 'wpcf7_init', 'contact_form_7_hidden_fields', 10 );
    This adds the function to contact form 7 initialization instead of the other hook

    (assuming you are of course using the contact-form-7-modules plugin)

  4. asisrodriguez
    Member
    Posted 7 months ago #

    for me work perfectly changed to:

    add_action('plugins_loaded', 'contact_form_7_hidden_fields', 11);

    thanks so much

    asis

  5. kilroy05
    Member
    Posted 7 months ago #

    Or change the priority to 11 from 10. Found that one as well

Reply

You must log in to post.

About this Plugin

About this Topic