Changeset 7831
- Timestamp:
- 04/25/08 15:28:08 (7 months ago)
- Files:
-
- trunk/wp-admin/edit-attachment-rows.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/edit-attachment-rows.php
r7543 r7831 27 27 global $current_user; 28 28 $post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' ); 29 $att_title = get_the_title(); 30 if ( empty($att_title) ) 31 $att_title = __('(no title)'); 32 29 33 ?> 30 34 <tr id='post-<?php echo $id; ?>' class='<?php echo trim( $class . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top"> … … 51 55 case 'media': 52 56 ?> 53 <td><strong><a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), get_the_title())); ?>"><?php the_title(); ?></a></strong><br />57 <td><strong><a href="media.php?action=edit&attachment_id=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $att_title)); ?>"><?php echo $att_title; ?></a></strong><br /> 54 58 <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?> 55 59 <?php do_action('manage_media_media_column', $post->ID); ?>
