WordPress.org

Make WordPress Core

Changeset 7366


Ignore:
Timestamp:
03/17/08 23:54:30 (7 years ago)
Author:
ryan
Message:

Add title attribute to edit media link. see #6082

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-attachment-rows.php

    r7359 r7366  
    5151    case 'media': 
    5252        ?> 
    53         <td><strong><a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>"><?php the_title(); ?></a></strong><br /> 
     53        <td><strong><a href="media.php?action=edit&amp;attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), get_the_title())); ?>"><?php the_title(); ?></a></strong><br /> 
    5454        <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?> 
    5555        <?php do_action('manage_media_media_column', $post->ID); ?> 
Note: See TracChangeset for help on using the changeset viewer.