Make WordPress Core


Ignore:
Timestamp:
07/02/2008 11:07:56 PM (17 years ago)
Author:
mdawaffe
Message:

crazyhorse: merge with log:trunk@8151:8240

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-includes/link-template.php

    r8116 r8242  
    782782    // should the list of allowed schemes be maintained elsewhere?
    783783    if ( !in_array($scheme, array('http', 'https')) ) {
    784         if ( ('login' == $scheme) && ( force_ssl_login() || force_ssl_admin() ) )
     784        if ( ('login_post' == $scheme) && ( force_ssl_login() || force_ssl_admin() ) )
     785            $scheme = 'https';
     786        elseif ( ('login' == $scheme) && ( force_ssl_admin() ) )
    785787            $scheme = 'https';
    786788        elseif ( ('admin' == $scheme) && force_ssl_admin() )
Note: See TracChangeset for help on using the changeset viewer.