diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 8339ced9f0..436988bdcb 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2104,10 +2104,15 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', echo $content; return; } + + $columns = get_column_headers('edit-comments'); + $hidden = array_intersect( array_keys( $columns ), array_filter( get_hidden_columns('edit-comments') ) ); + $col_count = count($columns) - count($hidden); + ?>