Make post column hooks consistent. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
30ada3d17d
commit
0b77523396
@ -656,7 +656,13 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
|
||||
default:
|
||||
?>
|
||||
<td <?php echo $attributes ?>><?php do_action( 'manage_posts_custom_column', $column_name, $post->ID ); ?></td>
|
||||
<td <?php echo $attributes ?>><?php
|
||||
if ( 'page' == $post->post_type )
|
||||
do_action( 'manage_pages_custom_column', $column_name, $post->ID );
|
||||
else
|
||||
do_action( 'manage_posts_custom_column', $column_name, $post->ID );
|
||||
do_action( "manage_{$post->post_type}_posts_custom_column", $column_name, $post->ID );
|
||||
?></td>
|
||||
<?php
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user