Opened 4 years ago
Last modified 3 years ago
#8722 new defect (bug)
get_categories allows custom taxos, get_category doesn't
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Taxonomy | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch needs-testing gsoc |
| Cc: | wojtek.szkutnik@… |
Description
get_categories('type=link') works with custom taxonomies (since http://trac.wordpress.org/ticket/7427 ).
get_category('... ?') doesn't.
get_category > get_term($category,'category');
Because of that, all category dependent functions, like wp_list_categories and such, are broken when working with non post categories. get_category doesn't even work with link categories.
Attachments (1)
Change History (4)
wojtek.szkutnik — 3 years ago
comment:2
wojtek.szkutnik — 3 years ago
- Cc wojtek.szkutnik@… added
- Keywords has-patch needs-testing added; custom-taxonomies removed
comment:3
wojtek.szkutnik — 3 years ago
- Keywords gsoc added
Note: See
TracTickets for help on using
tickets.

Hm, shouldn't all these functions use wp_get_args instead of separate arguments?