[wp-trac] [WordPress Trac] #8167: Unable to create 2 categories with the same title under different parents

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 12 04:15:06 GMT 2008


#8167: Unable to create 2 categories with the same title under different parents
----------------------+-----------------------------------------------------
 Reporter:  DD32      |       Owner:     
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:  2.8
Component:  Taxonomy  |     Version:  2.7
 Severity:  normal    |    Keywords:     
----------------------+-----------------------------------------------------
 If you attempt to create 2 categories: \Category1\TestCategory and
 \Category2\TestCategory, TestCategory will fail to be created under the
 2nd category, failing on "The category you are trying to create already
 exists."

 It appears that {{{category_exists()}}} which in turn calls
 {{{is_term()}}} doesnt support hierarchies, Instead mearly checking to see
 if a Term with that Name exists within the taxonomy.

 Partially related to: #5034

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8167>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list