From a601e170aabedc996efe5dda0c8ae985579fd818 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 8 Feb 2013 18:34:51 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-posts-list-table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 542e533abb..47a8aeba0e 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -653,9 +653,9 @@ class WP_Posts_List_Table extends WP_List_Table { ?> >ID ) ) - echo get_post_format_string( get_post_format( $post->ID ) ); + printf( '%s', 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 '—'; ?>