mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846
git-svn-id: https://develop.svn.wordpress.org/trunk@18868 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
98554b4bb6
commit
7dd1ec898b
@ -497,7 +497,8 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
echo $post_link . '<br />';
|
||||
$this->comments_bubble( $post->ID, $pending_comments );
|
||||
echo '</span> ';
|
||||
echo "<a href='" . get_permalink( $post->ID ) . "'>#</a>";
|
||||
$post_type_object = get_post_type_object( $post->post_type );
|
||||
echo "<a href='" . get_permalink( $post->ID ) . "'>" . $post_type_object->labels->view_item . '</a>';
|
||||
echo '</div>';
|
||||
if ( 'attachment' == $post->post_type && ( $thumb = wp_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) )
|
||||
echo $thumb;
|
||||
|
Loading…
x
Reference in New Issue
Block a user