[wp-trac] Re: [WordPress Trac] #7427: get_categories does not allow
exernal taxonomy types
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 12 07:45:45 GMT 2008
#7427: get_categories does not allow exernal taxonomy types
-------------------------+--------------------------------------------------
Reporter: Malaiac | Owner: anonymous
Type: enhancement | Status: new
Priority: high | Milestone: 2.7
Component: General | Version: 2.7
Severity: normal | Resolution:
Keywords: categories |
-------------------------+--------------------------------------------------
Changes (by DD32):
* version: => 2.7
Comment:
See also: http://comox.textdrive.com/pipermail/wp-
hackers/2008-September/021655.html (and furthur posts in that thread)
The main issue here is not that get_categories() is only for categories,
But the fact that many template functions rely upon the function,
Duplicating get_categories() for a different type of taxonomy is perfectly
ok in my mind, however by doing so, would also require any plugins which
add custom category taxonomies to duplicate all the builtin !WordPress
category template functions, Where a simple addition could mean that it
could be achieved by passing a simply 'taxonomy' arg down the line.
I'm going to add a small patch that seems like it doesnt step on the toes,
yet also allows code-reuse of the template functions.
--
Ticket URL: <http://trac.wordpress.org/ticket/7427#comment:13>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list