[wp-trac] [WordPress Trac] #13789: Hierarchical taxonomy UI is a text input on media files

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 9 02:13:50 UTC 2010


#13789: Hierarchical taxonomy UI is a text input on media files
--------------------------+-------------------------------------------------
 Reporter:  sillybean     |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Taxonomy      |     Version:  3.0       
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by c3mdigital):

 I tried doing the same thing by registering a taxonomy to the "attachment"
 post type and was not able to get a ui only a meta box under the file URL
 box.  This is code I used to register the taxonomy:


 {{{
 register_taxonomy('media-type',array('attachment'), array(
     'hierarchical' => true,
     'labels' => $labels,
     'show_ui' => true,
     'query_var' => true,
     'rewrite' => array( 'slug' => 'media-type' ),
   ));
 }}}

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


More information about the wp-trac mailing list