From f1a30e2dd5a5eae8c0f16ca7f3efa39f1925d3f0 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Fri, 5 Nov 2010 07:09:13 +0000 Subject: [PATCH] format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746 git-svn-id: http://svn.automattic.com/wordpress/trunk@16201 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-posts-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 432108ec3f..b5a9af1d32 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -469,7 +469,7 @@ class WP_Posts_List_Table extends WP_List_Table { $post_type_object = get_post_type_object( $post->post_type ); $can_edit_post = current_user_can( 'edit_post', $post->ID ); ?> - post_status ); ?> iedit' valign="top"> + post_status . ' ' . sanitize_html_class( 'format-' . ( get_post_format( $post->ID ) ? get_post_format( $post->ID ) : 'default' ) ) ); ?> iedit' valign="top"> get_column_info();