Changeset 11720 for branches/2.8/wp-admin/includes/template.php
- Timestamp:
- 07/18/2009 11:21:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-admin/includes/template.php
r11673 r11720 2086 2086 if ( 'http://' == $author_url ) 2087 2087 $author_url = ''; 2088 $author_url_display = $author_url; 2089 $author_url_display = str_replace('http://www.', '', $author_url_display); 2090 $author_url_display = str_replace('http://', '', $author_url_display); 2088 $author_url_display = preg_replace('|http://(www\.)?|i', '', $author_url); 2091 2089 if ( strlen($author_url_display) > 50 ) 2092 2090 $author_url_display = substr($author_url_display, 0, 49) . '...';
Note: See TracChangeset
for help on using the changeset viewer.