Ticket #24378: 24378.patch
| File 24378.patch, 980 bytes (added by , 13 years ago) |
|---|
-
wp-admin/includes/class-wp-posts-list-table.php
551 551 if ( $format = get_post_format( $post->ID ) ) { 552 552 $label = get_post_format_string( $format ); 553 553 554 echo '<a href="' . esc_url( add_query_arg( array( 'post_format' => $format, 'post_type' => $post->post_type ), 'edit.php' ) ) . '" class="post-state-format format-' . $format . '" title="' . $label . '">' . $label . ":</a> ";554 echo apply_filters( 'post_format_icon', '<a href="' . esc_url( add_query_arg( array( 'post_format' => $format, 'post_type' => $post->post_type ), 'edit.php' ) ) . '" class="post-state-format format-' . $format . '" title="' . $label . '">' . $label . ':</a> ', $format, $post, $label ); 555 555 } 556 556 557 557 if ( $can_edit_post && $post->post_status != 'trash' ) {