[wp-trac] [WordPress Trac] #8722: get_categories allows custom taxos, get_category doesn't

WordPress Trac noreply at wordpress.org
Mon Sep 16 05:16:50 UTC 2013


#8722: get_categories allows custom taxos, get_category doesn't
--------------------------+-------------------
 Reporter:  Malaiac       |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  Taxonomy      |     Version:  2.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-------------------

Comment (by nacin):

 It might make more sense to convert all uses of get_category() to
 get_term(), in functions like wp_list_categories() that are generic and
 take a taxonomy argument. Otherwise this change doesn't actually help,
 unless you use the filter, which is very confusing.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/8722#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list