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:
parent
b6ff912589
commit
bf86ab0a2d
|
@ -666,7 +666,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||||
default:
|
default:
|
||||||
?>
|
?>
|
||||||
<td <?php echo $attributes ?>><?php
|
<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 );
|
do_action( 'manage_pages_custom_column', $column_name, $post->ID );
|
||||||
else
|
else
|
||||||
do_action( 'manage_posts_custom_column', $column_name, $post->ID );
|
do_action( 'manage_posts_custom_column', $column_name, $post->ID );
|
||||||
|
|
Loading…
Reference in New Issue