#15581 closed defect (bug) (fixed)
Incomplete Abstraction of wp_insert_category()
| Reported by: | miqrogroove | Owned by: | garyc40 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | General | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch needs-testing 3.2-early |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks like it'll work fine for non-hierarchical taxonomies or top-level terms in the meantime. Nice catch.