Make WordPress Core


Ignore:
Timestamp:
01/13/2011 01:21:30 AM (13 years ago)
Author:
nacin
Message:

Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.

File:
1 edited

Legend:

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

    r17277 r17278  
    558558                }
    559559
    560                 $actions = apply_filters( $this->hierarchical_display ? 'page_row_actions' : 'post_row_actions', $actions, $post );
     560                $actions = apply_filters( is_post_type_hierarchical( $post->post_type ) ? 'page_row_actions' : 'post_row_actions', $actions, $post );
    561561                echo $this->row_actions( $actions );
    562562
Note: See TracChangeset for help on using the changeset viewer.