Make WordPress Core

Ticket #16047: 16047.9.diff

File 16047.9.diff, 811 bytes (added by markjaquith, 12 years ago)
  • wp-admin/includes/class-wp-posts-list-table.php

    class WP_Posts_List_Table extends WP_List_Table { 
    653653                        ?>
    654654                        <td <?php echo $attributes ?>><?php
    655655                                if ( get_post_format( $post->ID ) )
    656                                         echo get_post_format_string( get_post_format( $post->ID ) );
     656                                        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 ) ) );
    657657                                else
    658                                         echo get_post_format_string( 'standard' );
     658                                        echo '&#8212;';
    659659                        ?></td>
    660660                        <?php
    661661                        break;