Make WordPress Core

Changeset 19759


Ignore:
Timestamp:
01/26/2012 09:21:44 AM (12 years ago)
Author:
duck_
Message:

Remove redundant logic from filter_SSL(). Props deltafactory. Fixes #19899.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r19749 r19759  
    19451945
    19461946    if ( force_ssl_content() && is_ssl() ) {
    1947         if ( 'http' === $arrURL['scheme'] && 'https' !== $arrURL['scheme'] )
     1947        if ( 'http' === $arrURL['scheme'] )
    19481948            $url = str_replace( $arrURL['scheme'], 'https', $url );
    19491949    }
Note: See TracChangeset for help on using the changeset viewer.