Make WordPress Core

Changeset 8190 for trunk/wp-login.php


Ignore:
Timestamp:
06/24/2008 10:19:27 PM (16 years ago)
Author:
ryan
Message:

SSL fixes. see #7001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r8069 r8190  
    412412        $redirect_to = 'wp-admin/';
    413413
    414     if ( is_ssl() && force_ssl_login() && !force_ssl_admin() && ( 0 !== strpos($redirect_to, 'https') ) )
     414    if ( is_ssl() && force_ssl_login() && !force_ssl_admin() && ( 0 !== strpos($redirect_to, 'https') ) && ( 0 === strpos($redirect_to, 'http') ) )
    415415        $secure_cookie = false;
    416416    else
Note: See TracChangeset for help on using the changeset viewer.