• I have been a long time user with Contact Form 7. The latest update added a <p> tag to the form. I have DOZENS of websites that use the plugin. Please fix this issue with an update this plugin so I don’t have to manually fix the dozens of website that use them. Thanks.

    See below for the fix:

    Fortunately, it is easy to turn it off, add the following line to your wp-config.php file:
    
    define( 'WPCF7_AUTOP', false );
    
    You can also use a filter in your theme (functions.php) or your plugin:
    
    add_filter('wpcf7_autop_or_not', '__return_false');
    
    The last snippet does the some but it attach the code to the theme and not to the WP instance.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes, same as my sites.
    all forms added p tags and gaps.

    Contact form 7 should remove p tags instead of adding these filter code.

    Thank you,

    Why are we having to do this? With so many sites to update this is a huge PITA.

    Also why doesn’t contact 7 & hcaptcha work together anymore?

    Both recently update and now ALL of my forms are either not showing the captcha, or it’s blank chaptcha box, or soam is getting through, or the forms won’t work with Recatpcha

    & I now any complex forms just aren’t working…. no matter what captcha I have – even without captcha
    the forms validdate fine – they’ve been tripel checked for possible format errors (though they’ve been working for the last 3 years without issue)
    but now getting:
    ” One or more fields have an error. Please check and try again.”
    even with all fields filled in.

    So I rolled it BACK to previous version v5.6.4 and that fixed ALL the issues.

    I love your contact form have used it for years. gonna DONATE to you so that you can REMOVE EVERYTHING YOU’VE DONE in the new version.

    but seriously, what a PITA this has been.

    I believe the main issue is “P” tag to break the layout.
    Somehow it has been added.
    If others are not showing properly, you should check the inspect if p tags wrap the element ( captcha ) and add additional css for now.

    Not doing that thanks…

    Will just use 5.6.4 until a version without this comes out, or move to a different plugin if it stops working with WP or other stuff.

    I can roll back the version across all of my sites a hell of a lot faster than having to apply a css fix to them all.

    that is not a fix but a workaroung (thanks in any case). CF7 please fix the bug. There is no value in having <p> tags. This affects all of my 200+ websites AND all new installations too.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘FIXED: P Tag added with latest Plugin Update’ is closed to new replies.