Ticket #26819: 26819.patch
| File 26819.patch, 456 bytes (added by , 12 years ago) |
|---|
-
src/wp-includes/formatting.php
3073 3073 * @return string Absolute path. 3074 3074 */ 3075 3075 function wp_make_link_relative( $link ) { 3076 return preg_replace( '|https?://[^/]+(/ .*)|i', '$1', $link );3076 return preg_replace( '|https?://[^/]+(/?.*)|i', '$1', $link ); 3077 3077 } 3078 3078 3079 3079 /**