[wp-trac] [WordPress Trac] #15581: Incomplete Abstraction of wp_insert_category()

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 25 16:57:29 UTC 2010


#15581: Incomplete Abstraction of wp_insert_category()
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0            
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 in wp-admin/includes/taxonomy.php the function wp_insert_category() takes
 a taxonomy argument, but it still relies on functions category_exists()
 and cat_is_ancestor_of() which do not work accordingly.

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


More information about the wp-trac mailing list