Changeset 11721 for trunk/wp-admin/includes/template.php
- Timestamp:
- 07/18/2009 11:21:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r11711 r11721 2083 2083 if ( 'http://' == $author_url ) 2084 2084 $author_url = ''; 2085 $author_url_display = $author_url; 2086 $author_url_display = str_replace('http://www.', '', $author_url_display); 2087 $author_url_display = str_replace('http://', '', $author_url_display); 2085 $author_url_display = preg_replace('|http://(www\.)?|i', '', $author_url); 2088 2086 if ( strlen($author_url_display) > 50 ) 2089 2087 $author_url_display = substr($author_url_display, 0, 49) . '...';
Note: See TracChangeset
for help on using the changeset viewer.