felixarntz / bootstrap-for-contact-form-7

This plugin modifies the output of the popular Contact Form 7 plugin to be styled in compliance with themes using the Bootstrap CSS framework.
https://wordpress.org/plugins/bootstrap-for-contact-form-7/
GNU General Public License v2.0
24 stars 18 forks source link

Add support for Contact Form 7 4.6 #40

Closed qutrwp closed 7 years ago

qutrwp commented 7 years ago

Adds support for Contact Form 7 version 4.6, as per the release notes below:

http://contactform7.com/2016/12/03/contact-form-7-46/

felixarntz commented 7 years ago

Thanks for the PR @qutrwp, and making me aware of that change in Contact Form 7. The PR looks good, however can you please update it to only change the CF7-related stuff? I don't think we should change any function or class names of this CF7BS plugin since it's not necessary.

It's too bad already that CF7 simply changed their function and class names for no obvious reasons. :/

qutrwp commented 7 years ago

Hi @felixarntz,

Fair enough - I've updated the PR accordingly.

zepich commented 7 years ago

To be compatible with the latest version of contact form 7 we need also the changes from my pull request to @qutrwp repository (see https://github.com/qutrwp/bootstrap-for-contact-form-7/pull/1).

The WPCF7_FormTagsManger::add() method checks every tag and if a tag already exists the tag will not be overwritten.