Make WordPress Core


Ignore:
Timestamp:
07/06/2008 09:15:38 PM (16 years ago)
Author:
ryan
Message:

Excerpt long media titles. Props nbachiyski. fixes #7253

File:
1 edited

Legend:

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

    r8248 r8265  
    721721
    722722    $display_title = ( !empty( $title ) ) ? $title : $filename; // $title shouldn't ever be empty, but just in case
     723    $display_title = wp_html_excerpt($display_title, 100);
    723724
    724725    $item = "
Note: See TracChangeset for help on using the changeset viewer.