WordPress.org

Make WordPress Core

Changeset 9923


Ignore:
Timestamp:
11/27/2008 05:46:53 PM (12 years ago)
Author:
ryan
Message:

Trim comment author urls. see #8386

File:
1 edited

Legend:

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

    r9912 r9923  
    19351935        $author_url = '';
    19361936    $author_url_display = $author_url;
     1937    $author_url_display = str_replace('http://www.', '', $author_url_display);
     1938    $author_url_display = str_replace('http://', '', $author_url_display);
    19371939    if ( strlen($author_url_display) > 50 )
    19381940        $author_url_display = substr($author_url_display, 0, 49) . '...';
Note: See TracChangeset for help on using the changeset viewer.