Opened 4 years ago

Last modified 3 years ago

#8722 new defect (bug)

get_categories allows custom taxos, get_category doesn't

Reported by: Malaiac Owned by: ryan
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)

8722.diff (991 bytes) - added by wojtek.szkutnik 3 years ago.

Download all attachments as: .zip

Change History (4)

comment:1   ryan4 years ago

  • Milestone changed from 2.9 to Future Release
  • Cc wojtek.szkutnik@… added
  • Keywords has-patch needs-testing added; custom-taxonomies removed

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

  • Keywords gsoc added
Note: See TracTickets for help on using tickets.