Changeset 4348 for trunk/wp-includes/formatting.php
- Timestamp:
- 10/06/2006 12:34:58 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r4320 r4348 1071 1071 } 1072 1072 1073 function wp_make_link_relative( $link, $base = '' ) { 1074 if ( !$base ) 1075 $base = get_option( 'home' ); 1076 if ( 0 === strpos($link, $base) ) 1077 $link = substr_replace($link, '', 0, strlen($base)); 1078 return $link; 1079 } 1073 1080 ?>
Note: See TracChangeset
for help on using the changeset viewer.