Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#16213 closed defect (bug) (fixed)

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

Reported by: nacin's profile nacin Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: 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)

#1 @nacin
14 years ago

Looks like it's just one spot.

#2 @nacin
14 years ago

  • 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.