Changeset 3723
- Timestamp:
- 04/19/2006 08:36:45 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r3716 r3723 76 76 $url = get_comment_author_url(); 77 77 $display = ($linktext != '') ? $linktext : $url; 78 $display = str_replace( 'http://www.', '', $display ); 79 $display = str_replace( 'http://', '', $display ); 80 if ( '/' == substr($display, -1) ) 81 $display = substr($display, 0, -1); 78 82 $return = "$before<a href='$url' rel='external'>$display</a>$after"; 79 83 return apply_filters('get_comment_author_url_link', $return);
Note: See TracChangeset
for help on using the changeset viewer.