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

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 2 00:45:14 UTC 2011


#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.1.3
 Severity:  minor         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by tomauger):

 get_term_link(intval($term->term_id), $term->taxonomy); ok

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


More information about the wp-trac mailing list