Support » Plugin: Fast Secure Contact Form » Better action url

  • Resolved frizi

    (@frizi)


    In case of multilingual pages, the /de/ /en/ language url is used. The SI contact form is using the Request_uri as action url which is ignoring the actual language setting. Therefor I would suggest to change the from requst to redirect server global variable on
    line 914 of plugins\si-contact-form\si-contact-form.php to:

    if ( is_ssl() ) {
        $form_action_url = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REDIRECT_URL'];
    } else {
    	print_r($_SERVER);
        $form_action_url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REDIRECT_URL'];
    }

    http://wordpress.org/extend/plugins/si-contact-form/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Better action url’ is closed to new replies.