#15581 closed defect (bug) (fixed)
Incomplete Abstraction of wp_insert_category()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | General | Keywords: | has-patch needs-testing 3.2-early |
Focuses: | Cc: |
Description
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.
Attachments (3)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Looks like it'll work fine for non-hierarchical taxonomies or top-level terms in the meantime. Nice catch.