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

git-svn-id: https://develop.svn.wordpress.org/trunk@19759 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jon Cave 2012-01-26 09:21:44 +00:00
parent a958005166
commit c67d273f1f
1 changed files with 1 additions and 1 deletions

View File

@ -1944,7 +1944,7 @@ function filter_SSL( $url ) {
$arrURL = parse_url( $url );
if ( force_ssl_content() && is_ssl() ) {
if ( 'http' === $arrURL['scheme'] && 'https' !== $arrURL['scheme'] )
if ( 'http' === $arrURL['scheme'] )
$url = str_replace( $arrURL['scheme'], 'https', $url );
}