Support » Plugin: Contact Form 7 » JS bug in config validation error display

  • Resolved Thomas Kräftner

    (@kraftner)


    When there is more than one error in the “Additional Settings” tab “undefined” is displayed in the error message.

    This is due to the lack of "tab.replace( '-', '_' )" in this line https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.0/admin/js/scripts.js#L216

    It should be

    .replace( '%d', errorCount[ tab.replace( '-', '_' ) ] );

    Not sure if this was your intended way of contacting you about the bug but the form on your website thought I was spam…

    Cheers,
    Thomas

    • This topic was modified 1 year, 8 months ago by  .
    • This topic was modified 1 year, 8 months ago by  .
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS bug in config validation error display’ is closed to new replies.