From 401c841c934fcedda6382bae91041ead480eb879 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 3 Oct 2011 14:03:01 +0000 Subject: [PATCH] Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846 git-svn-id: http://svn.automattic.com/wordpress/trunk@18868 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-comments-list-table.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index 1600d13c9a..e14ad2aa7b 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -497,7 +497,8 @@ class WP_Comments_List_Table extends WP_List_Table { echo $post_link . '
'; $this->comments_bubble( $post->ID, $pending_comments ); echo ' '; - echo "#"; + $post_type_object = get_post_type_object( $post->post_type ); + echo "" . $post_type_object->labels->view_item . ''; echo ''; if ( 'attachment' == $post->post_type && ( $thumb = wp_get_attachment_image( $post->ID, array( 80, 60 ), true ) ) ) echo $thumb;