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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-12-28 19:34:31 +00:00
parent 226e983063
commit 0630489d88
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 );