Add colspan for IE, fixes #8513
git-svn-id: http://svn.automattic.com/wordpress/trunk@10092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
49a667aa09
commit
0e125cae08
|
@ -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);
|
||||
|
||||
?>
|
||||
<form method="get" action="">
|
||||
<?php if ( $table_row ) : ?>
|
||||
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow"><td colspan="6">
|
||||
<table style="display:none;"><tbody id="com-reply"><tr id="replyrow"><td colspan="<?php echo $col_count; ?>">
|
||||
<?php else : ?>
|
||||
<div id="com-reply" style="display:none;"><div id="replyrow">
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue