[wp-trac] [WordPress Trac] #14089: Categories not supported on hierarchical post types

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 15 22:38:41 UTC 2010


#14089: Categories not supported on hierarchical post types
--------------------------+-------------------------------------------------
 Reporter:  scribu        |        Owner:        
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  3.1   
Component:  Post Types    |      Version:        
 Severity:  minor         |   Resolution:  fixed 
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by scribu):

  * milestone:  Awaiting Triage => 3.1


Old description:

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

New description:

 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.

 2. Go to wp-admin/edit.php?post_type=example

 3. The Categories column is present, but it's blank.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14089#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list