Page Options: fix hiding of custom columns added by plugins, props ShaneF, fixes #7853
git-svn-id: http://svn.automattic.com/wordpress/trunk@9108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7eb6d6fadc
commit
175611bda0
|
@ -1433,7 +1433,7 @@ function _post_row($a_post, $pending_comments, $mode) {
|
|||
|
||||
default:
|
||||
?>
|
||||
<td><?php do_action('manage_posts_custom_column', $column_name, $post->ID); ?></td>
|
||||
<td <?php echo $attributes ?>><?php do_action('manage_posts_custom_column', $column_name, $post->ID); ?></td>
|
||||
<?php
|
||||
break;
|
||||
}
|
||||
|
@ -1596,7 +1596,7 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
|
|||
|
||||
default:
|
||||
?>
|
||||
<td><?php do_action('manage_pages_custom_column', $column_name, $id); ?></td>
|
||||
<td <?php echo $attributes ?>><?php do_action('manage_pages_custom_column', $column_name, $id); ?></td>
|
||||
<?php
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue