[wp-trac] [WordPress Trac] #17652: get_term_link doesn't accept $term->term_id without explicit casting as numeric

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 19 19:05:54 UTC 2012


#17652: get_term_link doesn't accept $term->term_id without explicit casting as
numeric
--------------------------+------------------------------
 Reporter:  tomauger      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.3.1
 Severity:  minor         |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by jonathanwold):

 * cc: jonathanwold (added)
 * version:  3.1.3 => 3.3.1


Comment:

 I ran into this today trying to get the link using the term_id. The codex
 (http://codex.wordpress.org/Function_Reference/get_term_link) specifies
 that term_id can be used. Should I update it to reflect that there is a
 bug or just hold tight until the bug is fixed?

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


More information about the wp-trac mailing list