• Resolved leereamsnyder

    (@leereamsnyder)


    In the function cntctfrm_display_form you have an issue with how you decide to show the port number for HTTPS sites.

    This is at line 1409 on contact_form.php: You have if ('80' != $_SERVER["SERVER_PORT"]), but HTTPS is typically port 443 but doesn’t use the port number in URLs. So that should be if '80' != $_SERVER["SERVER_PORT"] || '443' != $_SERVER["SERVER_PORT"]

    Also (this may just be our server environment), $_SERVER['HTTPS'] is sometimes all-uppercase “ON”, not all-lowercase “on”. So I have to change $_SERVER["HTTPS"] == "on" to strtolower($_SERVER["HTTPS"]) == "on" to make sure that check works.

    Thanks!

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

Viewing 1 replies (of 1 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for the information, we will check if it does not cause any conflicts and after that make the necessary changes in the plugin.

    Sincerely,
    BestWebSoft Support Team

Viewing 1 replies (of 1 total)
  • The topic ‘http/s form display issue’ is closed to new replies.