Changeset 35497 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 11/03/2015 09:35:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r35479 r35497 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
Note: See TracChangeset
for help on using the changeset viewer.