Make WordPress Core

Changeset 17160


Ignore:
Timestamp:
12/28/2010 07:34:31 PM (14 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-posts-list-table.php

    r17097 r17160  
    667667            ?>
    668668            <td <?php echo $attributes ?>><?php
    669                 if ( 'page' == $post->post_type )
     669                if ( is_post_type_hierarchical( $post->post_type ) )
    670670                    do_action( 'manage_pages_custom_column', $column_name, $post->ID );
    671671                else
Note: See TracChangeset for help on using the changeset viewer.