Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r11536 r11687  
    16941694    $orig_scheme = $scheme;
    16951695    if ( !in_array($scheme, array('http', 'https')) ) {
    1696         if ( ('login_post' == $scheme) && ( force_ssl_login() || force_ssl_admin() ) )
     1696        if ( ( 'login_post' == $scheme || 'rpc' == $scheme ) && ( force_ssl_login() || force_ssl_admin() ) )
    16971697            $scheme = 'https';
    16981698        elseif ( ('login' == $scheme) && ( force_ssl_admin() ) )
Note: See TracChangeset for help on using the changeset viewer.