[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
Thu Jun 2 02:40:19 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 dd32):
This is due to get_term() and get_term_by() not int'ing the fields when
using a raw context. See
http://core.trac.wordpress.org/ticket/17646#comment:5 for a patch which
sanitizes them.
See also #16469 (This and that can probably be closed as a duplicate of
either #17646 or one of the other int'ing tickets)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17652#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list