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
This commit is contained in:
parent
985a5b4a3f
commit
77c138c4c0
|
@ -1943,13 +1943,15 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true
|
|||
echo "<td $attributes>" . get_comment_date(__('Y/m/d \a\t g:ia')) . '</td>';
|
||||
break;
|
||||
case 'response':
|
||||
echo "<td $attributes>\n";
|
||||
echo ""$post_link" ";
|
||||
echo '<a href="edit-comments.php?p=' . $post->ID;
|
||||
if ( !empty($_GET['comment_type']) ) echo '&comment_type=' . htmlspecialchars( $_GET['comment_type'] );
|
||||
echo '">' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '</a><br />';
|
||||
echo get_the_time(__('Y/m/d \a\t g:ia'));
|
||||
echo '</td>';
|
||||
if ( 'single' !== $mode ) {
|
||||
echo "<td $attributes>\n";
|
||||
echo ""$post_link" ";
|
||||
echo '<a href="edit-comments.php?p=' . $post->ID;
|
||||
if ( !empty($_GET['comment_type']) ) echo '&comment_type=' . htmlspecialchars( $_GET['comment_type'] );
|
||||
echo '">' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '</a><br />';
|
||||
echo get_the_time(__('Y/m/d \a\t g:ia'));
|
||||
echo '</td>';
|
||||
}
|
||||
}
|
||||
}
|
||||
echo "</tr>\n";
|
||||
|
|
Loading…
Reference in New Issue