Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 20911)
+++ wp-includes/link-template.php	(working copy)
@@ -1875,6 +1875,8 @@
 		$url = preg_replace( '#^.+://[^/]*#', '', $url );
 	elseif ( 'http' != $scheme )
 		$url = str_replace( 'http://', "$scheme://", $url );
+	elseif ( 'http' == $scheme )
+		$url = str_replace( 'https://', "$scheme://", $url );
 
 	if ( !empty( $path ) && is_string( $path ) && strpos( $path, '..' ) === false )
 		$url .= '/' . ltrim( $path, '/' );
