[wp-trac] [WordPress Trac] #14153: Specifying an array of parameters for the taxonomy registration

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 28 06:03:11 UTC 2010


#14153: Specifying an array of parameters for the taxonomy registration
-----------------------------+----------------------------------------------
 Reporter:  surger1976       |       Owner:                         
     Type:  feature request  |      Status:  new                    
 Priority:  normal           |   Milestone:  Awaiting Review        
Component:  Post Types       |     Version:                         
 Severity:  normal           |    Keywords:  reporter-feedback close
-----------------------------+----------------------------------------------
Changes (by nacin):

  * keywords:  => reporter-feedback close


Comment:

 I don't see why we need to overload register_post_type to support
 register_taxonomy. If you need to register a taxonomy, you should follow
 up with a call to register_taxonomy. register_taxonomy_for_object_type is
 enough, no?

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


More information about the wp-trac mailing list