Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-admin/includes/template.php

    r11720 r11673  
    20862086    if ( 'http://' == $author_url )
    20872087        $author_url = '';
    2088     $author_url_display = preg_replace('|http://(www\.)?|i', '', $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);
    20892091    if ( strlen($author_url_display) > 50 )
    20902092        $author_url_display = substr($author_url_display, 0, 49) . '...';
Note: See TracChangeset for help on using the changeset viewer.