Issue manage_pages_custom_column for hierarchical post types. Props mrwok, duck_. fixes #16000

git-svn-id: https://develop.svn.wordpress.org/trunk@17160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-12-28 19:34:31 +00:00
parent b6ff912589
commit bf86ab0a2d
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ class WP_Posts_List_Table extends WP_List_Table {
default:
?>
<td <?php echo $attributes ?>><?php
if ( 'page' == $post->post_type )
if ( is_post_type_hierarchical( $post->post_type ) )
do_action( 'manage_pages_custom_column', $column_name, $post->ID );
else
do_action( 'manage_posts_custom_column', $column_name, $post->ID );