Remove the "Post/Page" column when looking at comments on the edit page, fixes #7924
git-svn-id: https://develop.svn.wordpress.org/trunk@9248 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b3106f3b66
commit
89af45a5ec
|
@ -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