| 1 | Index: wp-includes/functions.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/functions.php (revision 23332) |
|---|
| 4 | +++ wp-includes/functions.php (working copy) |
|---|
| 5 | @@ -655,10 +655,10 @@ |
|---|
| 6 | else |
|---|
| 7 | $frag = ''; |
|---|
| 8 | |
|---|
| 9 | - if ( 0 === stripos( 'http://', $uri ) ) { |
|---|
| 10 | + if ( 0 === stripos( $uri, 'http://' ) ) { |
|---|
| 11 | $protocol = 'http://'; |
|---|
| 12 | $uri = substr( $uri, 7 ); |
|---|
| 13 | - } elseif ( 0 === stripos( 'https://', $uri ) ) { |
|---|
| 14 | + } elseif ( 0 === stripos( $uri, 'https://' ) ) { |
|---|
| 15 | $protocol = 'https://'; |
|---|
| 16 | $uri = substr( $uri, 8 ); |
|---|
| 17 | } else { |
|---|