WordPress.org

Make WordPress Core

Ticket #19899: ms-functions.php.patch

File ms-functions.php.patch, 446 bytes (added by deltafactory, 2 years ago)
  • ms-functions.php

     
    19441944        $arrURL = parse_url( $url ); 
    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        } 
    19501950