[wp-trac] [WordPress Trac] #17646: wp_get_object_terms should return arrays of integers for IDs and tt_IDs
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 2 01:16:02 UTC 2011
#17646: wp_get_object_terms should return arrays of integers for IDs and tt_IDs
---------------------------+------------------------------
Reporter: simonwheatley | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.2
Severity: normal | Resolution:
Keywords: needs-patch |
---------------------------+------------------------------
Comment (by dd32):
> IMO, sanitize_term_field() should be updated to absint() the term_id
field.
Completely missed the fact that it already (int)'s the term_id value
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17646#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list