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: http://core.svn.wordpress.org/trunk@23396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2013-02-08 18:34:51 +00:00
parent dab5a6ef7d
commit ddd1b94184

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;