WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#14089 closed defect (bug) (fixed)

Categories not supported on hierarchical post types

Reported by: 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)

comment:1 nacin4 years ago

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

comment:2 kevinB4 years ago

  • Cc kevinB added

comment:3 scribu4 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

comment:4 scribu4 years ago

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