Link post formats in posts list table. Use a dash for standard, like we do for absence of tags. see #16047 Next: use icons, not text descriptions.

git-svn-id: https://develop.svn.wordpress.org/trunk@23396 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2013-02-08 18:34:51 +00:00
parent e419f6258c
commit a601e170aa
1 changed files with 2 additions and 2 deletions

View File

@ -653,9 +653,9 @@ class WP_Posts_List_Table extends WP_List_Table {
?>
<td <?php echo $attributes ?>><?php
if ( get_post_format( $post->ID ) )
echo get_post_format_string( get_post_format( $post->ID ) );
printf( '<a href="%s">%s</a>', add_query_arg( array( 'post_format' => get_post_format( $post->ID ), 'post_type' => $post->post_type ), 'edit.php' ), get_post_format_string( get_post_format( $post->ID ) ) );
else
echo get_post_format_string( 'standard' );
echo '&#8212;';
?></td>
<?php
break;