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

Changed the funtion `get_option` to `get_date_option` #31

Closed zepich closed 8 years ago

zepich commented 8 years ago

If you use relative dates like today+5days you need to use the function get_date_option because only this function will respect the relative dates.

felixarntz commented 8 years ago

Thanks for the PR! I will adjust your fix just a little bit, to check for the function before calling it, in case someone is using an old version of CF7.