• Resolved Lea

    (@leac)


    Hi

    Thanks for a great plugin!
    Lately, the plugin is generating the following error:

    PHP Notice: wpcf7_add_shortcode is deprecated since Contact Form 7 version 4.6! Use wpcf7_add_form_tag instead.

    Is there a plan to release a version with a fix to this?

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author tameroski

    (@tameroski)

    Hi !
    Thanks for pointing this out. I’ll release a fix this week i think, probably on wednesday.

    Thread Starter Lea

    (@leac)

    Hi

    Thanks, that will be great.
    Actually I noticed a few other deprecated warnings from your (terrific!) plugin. Have you seen them too?

    Plugin Author tameroski

    (@tameroski)

    That’s possible, i didn’t work on it for a decent amount of time now.
    Feel free to list them here if you want, it will save me some precious time ??
    PRs are also welcome on the plugin’s github repository if you’re willing to help.

    Thread Starter Lea

    (@leac)

    I’ll be glad to help with what I can.

    But one error is a little too much for me, so I’m posting it here:

    messages property of a WPCF7_ContactForm object is no longer accessible. Use prop(‘messages’) method instead.

    Plugin Author tameroski

    (@tameroski)

    Hi Lea
    Thank you very much for the PR ??
    Everything seams fine to me. What’s the error you’re talking about ? When do you get it ?

    Thread Starter Lea

    (@leac)

    Hi

    My pleasure ??
    The additional error is what I cited in my previous message:
    messages property of a WPCF7_ContactForm object is no longer accessible. Use prop(‘messages’) method instead.
    I get it when a form with the signature plugin is loaded.

    Thanks

    Plugin Author tameroski

    (@tameroski)

    I don’t get that error, whatever i do … Are you sure it comes from my plugin ? I’m always using prop() in my plugin, not properties directly.

    Thread Starter Lea

    (@leac)

    Could be that it’s not from your plugin. Sorry for the false suspection! ??

    • This reply was modified 8 years, 1 month ago by Lea.
    Plugin Author tameroski

    (@tameroski)

    No probem ??

    Now you got a mention in the plugin’s changelog. That’s the least i can do ??

    Thanks

    Thread Starter Lea

    (@leac)

    Yay! I’m famous! ??
    Thanks for the collaboration!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘wpcf7_add_shortcode deprecated’ is closed to new replies.