Ticket #26819: 26819.2.patch
| File 26819.2.patch, 464 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/formatting.php
3621 3621 * @return string Absolute path. 3622 3622 */ 3623 3623 function wp_make_link_relative( $link ) { 3624 return preg_replace( '|^(https?:)?//[^/]+(/ .*)|i', '$2', $link );3624 return preg_replace( '|^(https?:)?//[^/]+(/?.*)|i', '$2', $link ); 3625 3625 } 3626 3626 3627 3627 /**