Icon fixes. See #5911; hat tip: andy.

git-svn-id: https://develop.svn.wordpress.org/trunk@7212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2008-03-10 21:31:33 +00:00
parent 3c271eafb2
commit 6bb830225d
2 changed files with 10 additions and 11 deletions

View File

@@ -39,14 +39,14 @@ foreach($posts_columns as $column_name=>$column_display_name) {
case 'icon':
?>
<td class="media-icon"><?php echo the_attachment_link($post->ID, false, array(48,48)); ?></td>
<td class="media-icon"><?php echo get_the_attachment_link($post->ID, 'thumbnail', array(48,48)); ?></td>
<?php
// TODO
break;
case 'media':
?>
<td><strong><a href="# TODO: upload.php?action=edit&amp;post=<?php the_ID(); ?>"><?php the_title(); ?></a></strong><br />
<td><strong><!-- TODO <a href="upload.php?action=edit&amp;post=<?php the_ID(); ?>"> --><?php the_title(); ?><!-- </a> --></strong><br />
<?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', get_attached_file($post->ID))); ?>
<?php do_action('manage_media_media_column', $post->ID); ?>
</td>