Make WordPress Core

Changeset 22759


Ignore:
Timestamp:
11/21/2012 02:04:24 PM (12 years ago)
Author:
nacin
Message:

Revert accidental changes to admin/includes/media.php in [22755]. see #22083.

File:
1 edited

Legend:

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

    r22757 r22759  
    10561056    global $redir_tab;
    10571057
    1058     echo "<a class='toggle describe-toggle-on' href='#'>$toggle_on</a>";
    1059 
    10601058    if ( ( $attachment_id = intval( $attachment_id ) ) && $thumb_url = wp_get_attachment_image_src( $attachment_id, 'thumbnail', true ) )
    10611059        $thumb_url = $thumb_url[0];
    10621060    else
    10631061        $thumb_url = false;
    1064 
    1065     $display_title = ( !empty( $title ) ) ? $title : $filename; // $title shouldn't ever be empty, but just in case
    1066     $display_title = $show_title ? "<div class='filename new'><span class='title'>" . wp_html_excerpt( $display_title, 60 ) . "</span></div>" : '';
    1067 
    1068     echo "<p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p>";
    10691062
    10701063    $post = get_post( $attachment_id );
Note: See TracChangeset for help on using the changeset viewer.