Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14089 closed defect (bug) (fixed)

Categories not supported on hierarchical post types

Reported by: scribu's profile scribu Owned by:
Milestone: 3.1 Priority: normal
Severity: minor Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description (last modified by scribu)

After registering a post type like so:

	register_post_type( 'example', array( 
		'label' => 'Examples', 
		'hierarchical' => true,
		'taxonomies' => array('category')
	) );
  1. Create a post in that post type and assign it a category.
  1. Go to wp-admin/edit.php?post_type=example
  1. The Categories column is present, but it's blank.

Change History (4)

#1 @nacin
14 years ago

Per IRC discussion, it would make sense to merge display_page_row() with _post_row().

#2 @kevinB
14 years ago

  • Cc kevinB added

#3 @scribu
14 years ago

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

(In [15500]) In WP_Posts_Table, merge _single_row_hierarchical() and _single_row(). Fixes #14089; see #14579

#4 @scribu
14 years ago

  • Description modified (diff)
  • Milestone changed from Awaiting Triage to 3.1
Note: See TracTickets for help on using tickets.