From 0630489d888343b0af0f13d7c5b969f6003208fc Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 28 Dec 2010 19:34:31 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-posts-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 801fb96cc7..4512036dbb 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -666,7 +666,7 @@ class WP_Posts_List_Table extends WP_List_Table { default: ?> >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 );