WordPress.org

Support

Support » Plugins and Hacks » Fast Secure Contact Form » [Bug fix] After form message is never shown (no output call)

[Bug fix] After form message is never shown (no output call)

  • Hiya,

    Love the plugin!

    Just ran into an issue with the ‘after form message’ in advanced settings. No matter what I enter, it never gets displayed. I looked at the source code and as far as I can see, the field content is just never used in any of the display functions.

    Quick fix would be:

    File: includes/class-fscf-display.php

    Find line 716:

    $string .= "\n".'<!-- Fast Secure Contact Form plugin '.FSCF_VERSION.' - end - FastSecureContactForm.com -->'. "\n";

    Replace with:

    $string .= ( isset( self::$form_options['after_form_note'] ) && self::$form_options['after_form_note'] !== '' ) ? self::$form_options['after_form_note'] : '';
    $string .= "\n".'<!-- Fast Secure Contact Form plugin '.FSCF_VERSION.' - end - FastSecureContactForm.com -->'. "\n";

    Line number based on v 4.0.18

    Hope this helps!

    Smile,
    Juliette

    https://wordpress.org/plugins/si-contact-form/

  • The topic ‘[Bug fix] After form message is never shown (no output call)’ is closed to new replies.
Skip to toolbar