• Hello,

    Thanks for this great plugin.
    I get a notice when WP_DEBUG is true.

    Notice: wpcf7_remove_shortcode is deprecated since Contact Form 7 version 4.6! Use wpcf7_remove_form_tag instead.

    Thanks in advance,

Viewing 3 replies - 1 through 3 (of 3 total)
  • +1 for the same notice when WP_DEBUG is true.

    How to configure on CF7 end date less than start date with datepicker ?

    I want prevent user from selecting an end date to be less than the start date

    there is an another date called : Return to work date that should be less than that End date

    Anyone can help me this

    The developer needs to replace deprecated CF7 tags. Here are the changes I made in my version to resolve the errors when WP_DEBUG is enabled.

    modules\date.php
    Line 32
    //$tag = new WPCF7_Shortcode($tag);
    $tag = new WPCF7_FormTag($tag);

    Line 150
    // wpcf7_remove_shortcode(‘date’);
    wpcf7_remove_form_tag(‘date’);
    Line 151
    // wpcf7_remove_shortcode(‘date*’);
    wpcf7_remove_form_tag(‘date*’);

    modules\datetime.php

    Line 26
    //$tag = new WPCF7_Shortcode($tag);
    $tag = new WPCF7_FormTag($tag);

    modules\time.php
    Line 27
    //$tag = new WPCF7_Shortcode($tag);
    $tag = new WPCF7_FormTag($tag);

    • This reply was modified 8 years, 1 month ago by bahead.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update notice wpcf7_remove_shortcode’ is closed to new replies.