WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Shibboleth] Login target url incorrect when FORCE_SSL_ADMIN config defined true (1 post)

  1. guychisholm
    Member
    Posted 4 years ago #

    Sites with FORCE_SSL_ADMIN defined to true in the wp-config.php produce incorrect login urls (i.e. non https) if your referring from an http page. I changed line 232 from:
    $target = site_url('wp-login.php');
    to:
    $target = site_url('wp-login.php', 'login');
    (this is how the target is created with wp-login.php)

    N.B. I have had trouble consistently reproducing this bug

    http://wordpress.org/extend/plugins/shibboleth/

Topic Closed

This topic has been closed to new replies.

About this Topic