WordPress.org

Ready to get started?Download WordPress

Forums

Fast Secure Contact Form
[Bug+fix] After form message is never shown (no output call) (1 post)

  1. jrf
    Member
    Posted 6 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.