[wp-trac] [WordPress Trac] #14231: 'custom post type' with the 'category' taxonomy - dont get the default category by saving whitout categories

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 12 02:42:54 UTC 2010


#14231: 'custom post type' with the 'category' taxonomy - dont get the default
category by saving whitout categories
--------------------------+-------------------------------------------------
 Reporter:  mati1000      |       Owner:                                   
     Type:  defect (bug)  |      Status:  new                              
 Priority:  normal        |   Milestone:  Awaiting Review                  
Component:  General       |     Version:  3.0                              
 Severity:  normal        |    Keywords:  custom post type,default taxonomy
--------------------------+-------------------------------------------------

Comment(by dd32):

 Nacin's correct that the default category is enforced for back compat
 reasons, namly, that some themes expect there to be at least one category,
 as well as for Permalinks (As many people use %category% in their url's
 unfortunately)

 Default Term's are not supported for other taxonomies, or post types.

 If a plugin wishes for their taxonomy to recieve a default item for a post
 type, then the plugin should enforce that itself.

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


More information about the wp-trac mailing list