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>';
|
echo "<td $attributes>" . get_comment_date(__('Y/m/d \a\t g:ia')) . '</td>';
|
||||||
break;
|
break;
|
||||||
case 'response':
|
case 'response':
|
||||||
echo "<td $attributes>\n";
|
if ( 'single' !== $mode ) {
|
||||||
echo ""$post_link" ";
|
echo "<td $attributes>\n";
|
||||||
echo '<a href="edit-comments.php?p=' . $post->ID;
|
echo ""$post_link" ";
|
||||||
if ( !empty($_GET['comment_type']) ) echo '&comment_type=' . htmlspecialchars( $_GET['comment_type'] );
|
echo '<a href="edit-comments.php?p=' . $post->ID;
|
||||||
echo '">' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '</a><br />';
|
if ( !empty($_GET['comment_type']) ) echo '&comment_type=' . htmlspecialchars( $_GET['comment_type'] );
|
||||||
echo get_the_time(__('Y/m/d \a\t g:ia'));
|
echo '">' . sprintf ( __ngettext('(%s comment)', '(%s comments)', $post->comment_count), $post->comment_count ) . '</a><br />';
|
||||||
echo '</td>';
|
echo get_the_time(__('Y/m/d \a\t g:ia'));
|
||||||
|
echo '</td>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user