Ticket #18516: 18516.diff
File 18516.diff, 1.1 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/class-wp-posts-list-table.php
478 478 $can_edit_post = current_user_can( $post_type_object->cap->edit_post, $post->ID ); 479 479 $post_format = get_post_format( $post->ID ); 480 480 $post_format_class = ( $post_format && !is_wp_error($post_format) ) ? 'format-' . sanitize_html_class( $post_format ) : 'format-default'; 481 $custom_class = apply_filters( 'post_list_table_row_class', '', $post ); 481 482 ?> 482 <tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $rowclass . ' author-' . $post_owner . ' status-' . $post->post_status . ' ' . $post_format_class ); ?> iedit' valign="top">483 <tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $rowclass . ' author-' . $post_owner . ' status-' . $post->post_status . ' ' . $post_format_class . ' ' . $custom_class ); ?> iedit' valign="top"> 483 484 <?php 484 485 485 486 list( $columns, $hidden ) = $this->get_column_info();