From 77c138c4c0d74cf92f3389475aee5197baa7c1d4 Mon Sep 17 00:00:00 2001 From: azaozz Date: Sun, 19 Oct 2008 20:11:43 +0000 Subject: [PATCH] Remove the "Post/Page" column when looking at comments on the edit page, fixes #7924 git-svn-id: http://svn.automattic.com/wordpress/trunk@9248 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index b03560da9..1b0269d85 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1943,13 +1943,15 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true echo "" . get_comment_date(__('Y/m/d \a\t g:ia')) . ''; break; case 'response': - echo "\n"; - echo ""$post_link" "; - echo '' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '
'; - echo get_the_time(__('Y/m/d \a\t g:ia')); - echo ''; + if ( 'single' !== $mode ) { + echo "\n"; + echo ""$post_link" "; + echo '' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '
'; + echo get_the_time(__('Y/m/d \a\t g:ia')); + echo ''; + } } } echo "\n";