Ticket #44564: patch.diff
File patch.diff, 495 bytes (added by , 7 years ago) |
---|
-
trunk/src/wp-includes/formatting.php
4373 4373 * @return string Absolute path. 4374 4374 */ 4375 4375 function wp_make_link_relative( $link ) { 4376 return preg_replace( '|^(https?:)?//[^/]+(/?.*)|i', '$2', $link);4376 return trailingslashit(preg_replace( '|^(https?:)?//[^/]+(/?.*)|i', '$2', $link )); 4377 4377 } 4378 4378 4379 4379 /**