Ticket #23284: 23284.2.diff
File 23284.2.diff, 551 bytes (added by , 12 years ago) |
---|
-
wp-includes/functions.php
655 655 else 656 656 $frag = ''; 657 657 658 if ( 0 === stripos( 'http://', $uri) ) {658 if ( 0 === stripos( $uri, 'http://' ) ) { 659 659 $protocol = 'http://'; 660 660 $uri = substr( $uri, 7 ); 661 } elseif ( 0 === stripos( 'https://', $uri) ) {661 } elseif ( 0 === stripos( $uri, 'https://' ) ) { 662 662 $protocol = 'https://'; 663 663 $uri = substr( $uri, 8 ); 664 664 } else {