Make WordPress Core

Ticket #18846: 18846.patch

File 18846.patch, 789 bytes (added by SergeyBiryukov, 14 years ago)
  • wp-admin/includes/class-wp-comments-list-table.php

     
    497497                echo $post_link . '<br />';
    498498                $this->comments_bubble( $post->ID, $pending_comments );
    499499                echo '</span> ';
    500                 echo "<a href='" . get_permalink( $post->ID ) . "'>#</a>";
     500                $post_type_object = get_post_type_object( $post->post_type );
     501                echo "<a href='" . get_permalink( $post->ID ) . "'>" . $post_type_object->labels->view_item . '</a>';
    501502                echo '</div>';
    502503                if ( 'attachment' == $post->post_type && ( $thumb = wp_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) )
    503504                        echo $thumb;