You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.
As heading said, as of Contact Form 7 ver. 4.6 WPCF7_Shortcode and of course wpcf7_add_shortcode are deprecated.
I was able to fix this issue by updating modules/date.php file
on line 32 replaced $tag = new WPCF7_Shortcode($tag); with $tag = new WPCF7_FormTag( $tag );
and on lines 148,149 replaced
wpcf7_remove_shortcode('date');
wpcf7_remove_shortcode('date*');
with
wpcf7_remove_form_tag('date');
wpcf7_remove_form_tag('date*');
The text was updated successfully, but these errors were encountered:
Hi Ben,
Definitely was wp-content/plugins/contact-form-7-datepicker/modules/date.php. I'm attaching my copy of the file so you can compare with yours.
Of course it could be something else that causing problem.
Hi,
As heading said, as of Contact Form 7 ver. 4.6 WPCF7_Shortcode and of course wpcf7_add_shortcode are deprecated.
I was able to fix this issue by updating modules/date.php file
on line 32 replaced $tag = new WPCF7_Shortcode($tag); with $tag = new WPCF7_FormTag( $tag );
and on lines 148,149 replaced
wpcf7_remove_shortcode('date');
wpcf7_remove_shortcode('date*');
with
wpcf7_remove_form_tag('date');
wpcf7_remove_form_tag('date*');
The text was updated successfully, but these errors were encountered: