• Resolved L C

    (@quiquoqua)


    there’s a bug that does not allow to use https protocol, here’s the fix

    before
    195.wp_redirect(‘https://’ . $_SERVER[‘HTTP_HOST’] . $targetPage . $GETQuery);

    after
    195.$protocol = ((!empty($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] != ‘off’) || $_SERVER[‘SERVER_PORT’] == 443) ? “https://” : “https://”;
    196.wp_redirect($protocol . $_SERVER[‘HTTP_HOST’] . $targetPage . $GETQuery);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPAutoLogin

    (@wpautologin)

    Hey LC!

    Thanks for noting (and fixing) the bug! I just installed an SSL certificate on my page and found this bug myself, and got annoyed by it. We came up with more or less the same solution. Update pending. I will chew through all other bug reports first!

    Great work!

    Paul K.

    Plugin Author WPAutoLogin

    (@wpautologin)

    Fixed in 1.07! Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘bugfix’ is closed to new replies.