Opened 2 years ago

Closed 2 years ago

#16213 closed defect (bug) (fixed)

hierarchical_display is the incorrect check for whether a post type is hierarchical

Reported by: nacin Owned by:
Priority: normal Milestone: 3.1
Component: Post Types Version:
Severity: normal Keywords:
Cc:

Description

In list tables, we're occasionally checking hierarchical_display, rather than whether the post type is hierarchical, which results in wrong actions being fired.

Change History (2)

Looks like it's just one spot.

  • Resolution set to fixed
  • Status changed from new to closed

(In [17278]) Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.

Note: See TracTickets for help on using tickets.